Update of /cvsroot/wpdev/wolfpack
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31688
Modified Files:
ChangeLog uobject.cpp
Log Message:
Update for onAttach
Index: uobject.cpp
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/uobject.cpp,v
retrieving revision 1.186
retrieving revision 1.187
diff -C2 -d -r1.186 -r1.187
*** uobject.cpp 21 Sep 2004 07:44:25 -0000 1.186
--- uobject.cpp 26 Sep 2004 14:41:22 -0000 1.187
***************
*** 1079,1082 ****
--- 1079,1088 ----
}
}
+
+ if (scriptChain && cPythonScript::canChainHandleEvent(EVENT_ATTACH, scriptChain)) {
+ PyObject* args = Py_BuildValue("(N)", getPyObject());
+ cPythonScript::callChainedEventHandler(EVENT_ATTACH, scriptChain, args);
+ Py_DECREF(args);
+ }
}
Index: ChangeLog
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/ChangeLog,v
retrieving revision 1.79
retrieving revision 1.80
diff -C2 -d -r1.79 -r1.80
*** ChangeLog 25 Sep 2004 22:57:08 -0000 1.79
--- ChangeLog 26 Sep 2004 14:41:22 -0000 1.80
***************
*** 58,61 ****
--- 58,62 ----
- Added translation support to Python scripts.
- Fixed stablemaster speech handling ( Stablemasters are also vendors )
+ - Fixed bug #0000326. (onAttach not being called on startup)
Wolfpack 12.9.10 Beta (10. September 2004)
|