[wpdev-commits] wolfpack/network uosocket.cpp,1.419,1.420
Brought to you by:
rip,
thiagocorrea
From: Incanus <inc...@us...> - 2004-09-26 21:36:35
|
Update of /cvsroot/wpdev/wolfpack/network In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13916/network Modified Files: uosocket.cpp Log Message: Added an onResurrect event. Changed char.resurrect to accept the source of the resurrection as an optional parameter. Index: uosocket.cpp =================================================================== RCS file: /cvsroot/wpdev/wolfpack/network/uosocket.cpp,v retrieving revision 1.419 retrieving revision 1.420 diff -C2 -d -r1.419 -r1.420 *** uosocket.cpp 25 Sep 2004 21:15:47 -0000 1.419 --- uosocket.cpp 26 Sep 2004 21:36:23 -0000 1.420 *************** *** 3255,3260 **** if ( _player->isDead() ) { ! _player->resurrect(); ! sysMessage( tr( "You have been resurrected." ) ); } else --- 3255,3262 ---- if ( _player->isDead() ) { ! if ( _player->resurrect( item ) ) ! { ! sysMessage( tr( "You have been resurrected." ) ); ! } } else |