[wpdev-commits] wolfpack/python char.cpp,1.185,1.186
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-08-29 20:40:59
|
Update of /cvsroot/wpdev/wolfpack/python In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1196/python Modified Files: char.cpp Log Message: overweight Index: char.cpp =================================================================== RCS file: /cvsroot/wpdev/wolfpack/python/char.cpp,v retrieving revision 1.185 retrieving revision 1.186 diff -C2 -d -r1.185 -r1.186 *** char.cpp 27 Aug 2004 14:41:17 -0000 1.185 --- char.cpp 29 Aug 2004 20:40:50 -0000 1.186 *************** *** 1451,1455 **** dispelargs = PyTuple_New( 0 ); ! if ( cPythonScript::canChainHandleEvent( EVENT_DISPEL, self->pChar->getScripts() ) ) { PyObject* source; --- 1451,1455 ---- dispelargs = PyTuple_New( 0 ); ! if ( self->pChar->canHandleEvent(EVENT_DISPEL) ) { PyObject* source; *************** *** 1470,1474 **** PyObject* args = Py_BuildValue( "(NNBBsN", self->pChar->getPyObject(), source, 0, force ? 1 : 0, ptype, dispelargs ); ! bool result = cPythonScript::callChainedEventHandler( EVENT_DISPEL, self->pChar->getScripts(), args ); Py_DECREF( args ); --- 1470,1474 ---- PyObject* args = Py_BuildValue( "(NNBBsN", self->pChar->getPyObject(), source, 0, force ? 1 : 0, ptype, dispelargs ); ! bool result = self->pChar->callEventHandler( EVENT_DISPEL, args ); Py_DECREF( args ); |