[wpdev-commits] wolfpack ChangeLog,1.55,1.56 uobject.cpp,1.184,1.185
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-09-16 18:52:52
|
Update of /cvsroot/wpdev/wolfpack In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6538 Modified Files: ChangeLog uobject.cpp Log Message: crashfix Index: uobject.cpp =================================================================== RCS file: /cvsroot/wpdev/wolfpack/uobject.cpp,v retrieving revision 1.184 retrieving revision 1.185 diff -C2 -d -r1.184 -r1.185 *** uobject.cpp 14 Sep 2004 00:14:39 -0000 1.184 --- uobject.cpp 16 Sep 2004 18:52:43 -0000 1.185 *************** *** 392,397 **** } ! if ( !hasScript( name ) ) ! { return; } --- 392,408 ---- } ! bool found = false; ! if (scriptChain) { ! unsigned int count = reinterpret_cast<unsigned int>( scriptChain[0] ); ! ! for ( unsigned int i = 1; i <= count; ++i ) ! { ! if ( scriptChain[i]->name() == name ) ! found = true; ! break; ! } ! } ! ! if (!found) { return; } *************** *** 433,440 **** changed_ = true; ! if ( event && event->canHandleEvent( EVENT_ATTACH ) ) { PyObject* args = Py_BuildValue( "(N)", getPyObject() ); ! event->callEvent( EVENT_ATTACH, args ); Py_DECREF( args ); } --- 444,451 ---- changed_ = true; ! if ( event && event->canHandleEvent( EVENT_DETACH ) ) { PyObject* args = Py_BuildValue( "(N)", getPyObject() ); ! event->callEvent( EVENT_DETACH, args ); Py_DECREF( args ); } Index: ChangeLog =================================================================== RCS file: /cvsroot/wpdev/wolfpack/ChangeLog,v retrieving revision 1.55 retrieving revision 1.56 diff -C2 -d -r1.55 -r1.56 *** ChangeLog 16 Sep 2004 18:45:01 -0000 1.55 --- ChangeLog 16 Sep 2004 18:52:43 -0000 1.56 *************** *** 18,21 **** --- 18,22 ---- - Fixed bug #0000309. (Console in web administration caused endless loop) - Completely rewrote line of sight. + - Fixed a crashbug related to trying to remove basescripts from objects. Wolfpack 12.9.10 Beta (10. September 2004) |