[wpdev-commits] wolfpack/python item.cpp,1.136,1.137
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-10-08 01:13:30
|
Update of /cvsroot/wpdev/wolfpack/python In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22074/python Modified Files: item.cpp Log Message: bugfixing session Index: item.cpp =================================================================== RCS file: /cvsroot/wpdev/wolfpack/python/item.cpp,v retrieving revision 1.136 retrieving revision 1.137 diff -C2 -d -r1.136 -r1.137 *** item.cpp 1 Oct 2004 23:26:38 -0000 1.136 --- item.cpp 8 Oct 2004 01:13:16 -0000 1.137 *************** *** 329,333 **** } ! Q_UINT16 amount = PyInt_AsLong( PyTuple_GetItem( args, 0 ) ); Q_UINT16 id = PyInt_AsLong( PyTuple_GetItem( args, 1 ) ); Q_UINT16 color = 0; --- 329,333 ---- } ! Q_UINT32 amount = PyInt_AsLong( PyTuple_GetItem( args, 0 ) ); Q_UINT16 id = PyInt_AsLong( PyTuple_GetItem( args, 1 ) ); Q_UINT16 color = 0; *************** *** 336,340 **** color = PyInt_AsLong( PyTuple_GetItem( args, 2 ) ); ! Q_UINT16 deleted = 0; deleted = self->pItem->deleteAmount( amount, id, color ); --- 336,340 ---- color = PyInt_AsLong( PyTuple_GetItem( args, 2 ) ); ! Q_UINT32 deleted = 0; deleted = self->pItem->deleteAmount( amount, id, color ); |