[wpdev-commits] wolfpack player.cpp,1.124,1.125
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-08-31 14:09:02
|
Update of /cvsroot/wpdev/wolfpack In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1639 Modified Files: player.cpp Log Message: Another basescripts and memory leak bugfix. Index: player.cpp =================================================================== RCS file: /cvsroot/wpdev/wolfpack/player.cpp,v retrieving revision 1.124 retrieving revision 1.125 diff -C2 -d -r1.124 -r1.125 *** player.cpp 31 Aug 2004 14:05:04 -0000 1.124 --- player.cpp 31 Aug 2004 14:08:50 -0000 1.125 *************** *** 1667,1674 **** if ( events & EventTime ) { ! if ( cPythonScript::canChainHandleEvent( EVENT_TIMECHANGE, scriptChain ) ) { PyObject* args = Py_BuildValue( "(N)", getPyObject() ); ! cPythonScript::callChainedEventHandler( EVENT_TIMECHANGE, scriptChain, args ); } } --- 1667,1675 ---- if ( events & EventTime ) { ! if ( canHandleEvent( EVENT_TIMECHANGE ) ) { PyObject* args = Py_BuildValue( "(N)", getPyObject() ); ! callEventHandler( EVENT_TIMECHANGE, args ); ! Py_DECREF(args); } } |