[wpdev-commits] wolfpack/python item.cpp,1.138,1.139
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-10-17 01:20:29
|
Update of /cvsroot/wpdev/wolfpack/python In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24680/python Modified Files: item.cpp Log Message: housing updates Index: item.cpp =================================================================== RCS file: /cvsroot/wpdev/wolfpack/python/item.cpp,v retrieving revision 1.138 retrieving revision 1.139 diff -C2 -d -r1.138 -r1.139 *** item.cpp 12 Oct 2004 23:59:28 -0000 1.138 --- item.cpp 17 Oct 2004 01:20:20 -0000 1.139 *************** *** 748,771 **** } - // If we are in a multi, return the multi object for it - // otherwise pynone - /* - \method item.multi - \description Checks if the item is a multi object, - \return Returns true or false if a multi. - */ - static PyObject* wpItem_multi( wpItem* self, PyObject* args ) - { - Q_UNUSED( args ); - /* - if( self->pItem->free ) - { - Py_RETURN_NONE; - } - return PyGetMultiObject( dynamic_cast< cMulti* >( FindItemBySerial( self->pItem->multis() ) ) - */ - Py_RETURN_NONE; - } - /* \method item.lightning --- 748,751 ---- *************** *** 1213,1217 **** { "getoutmostitem", ( getattrofunc ) wpItem_getoutmostitem, METH_VARARGS, "Get the outmost item." }, { "getname", ( getattrofunc ) wpItem_getname, METH_VARARGS, "Get item name." }, - { "multi", ( getattrofunc ) wpItem_multi, METH_VARARGS, 0 }, { "lightning", ( getattrofunc ) wpItem_lightning, METH_VARARGS, 0 }, { "resendtooltip", ( getattrofunc ) wpItem_resendtooltip, METH_VARARGS, 0 }, --- 1193,1196 ---- |