[wpdev-commits] wolfpack player.cpp,1.45,1.46
Brought to you by:
rip,
thiagocorrea
|
From: <co...@us...> - 2003-11-19 13:11:45
|
Update of /cvsroot/wpdev/wolfpack
In directory sc8-pr-cvs1:/tmp/cvs-serv26202
Modified Files:
player.cpp
Log Message:
Fixed problem with python events
Index: player.cpp
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/player.cpp,v
retrieving revision 1.45
retrieving revision 1.46
diff -C2 -d -r1.45 -r1.46
*** player.cpp 10 Oct 2003 21:13:46 -0000 1.45
--- player.cpp 19 Nov 2003 13:11:42 -0000 1.46
***************
*** 1322,1326 ****
if( scriptChain || global )
{
! PyObject *args = Py_BuildValue( "O&", PyGetCharObject, this );
result = cPythonScript::callChainedEventHandler( EVENT_LOGIN, scriptChain, args );
--- 1322,1326 ----
if( scriptChain || global )
{
! PyObject *args = Py_BuildValue( "(O&)", PyGetCharObject, this );
result = cPythonScript::callChainedEventHandler( EVENT_LOGIN, scriptChain, args );
***************
*** 1362,1366 ****
if( scriptChain || global )
{
! PyObject *args = Py_BuildValue( "O&", PyGetCharObject, this );
result = cPythonScript::callChainedEventHandler( EVENT_LOGOUT, scriptChain, args );
--- 1362,1366 ----
if( scriptChain || global )
{
! PyObject *args = Py_BuildValue( "(O&)", PyGetCharObject, this );
result = cPythonScript::callChainedEventHandler( EVENT_LOGOUT, scriptChain, args );
***************
*** 1383,1387 ****
if( scriptChain || global )
{
! PyObject *args = Py_BuildValue( "O&", PyGetCharObject, this );
result = cPythonScript::callChainedEventHandler( EVENT_HELP, scriptChain, args );
--- 1383,1387 ----
if( scriptChain || global )
{
! PyObject *args = Py_BuildValue( "(O&)", PyGetCharObject, this );
result = cPythonScript::callChainedEventHandler( EVENT_HELP, scriptChain, args );
***************
*** 1404,1408 ****
if( scriptChain || global )
{
! PyObject *args = Py_BuildValue( "O&", PyGetCharObject, this );
result = cPythonScript::callChainedEventHandler( EVENT_CHAT, scriptChain, args );
--- 1404,1408 ----
if( scriptChain || global )
{
! PyObject *args = Py_BuildValue( "(O&)", PyGetCharObject, this );
result = cPythonScript::callChainedEventHandler( EVENT_CHAT, scriptChain, args );
|