[wpdev-commits] wolfpack commands.cpp,1.241,1.242 targetrequests.h,1.70,1.71
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-07-09 07:41:09
|
Update of /cvsroot/wpdev/wolfpack In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1502 Modified Files: commands.cpp targetrequests.h Log Message: Removed resurrect from core. Index: targetrequests.h =================================================================== RCS file: /cvsroot/wpdev/wolfpack/targetrequests.h,v retrieving revision 1.70 retrieving revision 1.71 diff -C2 -d -r1.70 -r1.71 *** targetrequests.h 6 Jul 2004 13:04:07 -0000 1.70 --- targetrequests.h 9 Jul 2004 07:40:59 -0000 1.71 *************** *** 147,169 **** }; - class cResurectTarget : public cTargetRequest - { - public: - virtual bool responsed( cUOSocket* socket, cUORxTarget* target ) - { - P_CHAR pChar = FindCharBySerial( target->serial() ); - - if ( !pChar ) - { - socket->sysMessage( tr( "This is not a living being." ) ); - return true; - } - - pChar->resurrect(); - return true; - } - }; - - class cKillTarget : public cTargetRequest { --- 147,150 ---- Index: commands.cpp =================================================================== RCS file: /cvsroot/wpdev/wolfpack/commands.cpp,v retrieving revision 1.241 retrieving revision 1.242 diff -C2 -d -r1.241 -r1.242 *** commands.cpp 6 Jul 2004 13:04:06 -0000 1.241 --- commands.cpp 9 Jul 2004 07:40:59 -0000 1.242 *************** *** 195,212 **** /* - \command resurrect - \description Resurrects a character. - \notes If the character is standing on his corpse he will regain - all his posessions and equipment. - */ - void commandResurrect( cUOSocket* socket, const QString& command, const QStringList& args ) throw() - { - Q_UNUSED( args ); - Q_UNUSED( command ); - socket->sysMessage( tr( "Select the being you want to resurrect" ) ); - socket->attachTarget( new cResurectTarget ); - } - - /* \command kill \description Kills the selected character. --- 195,198 ---- *************** *** 1365,1369 **** { "RESEND", commandResend }, { "RESTOCK", commandRestock }, - { "RESURRECT", commandResurrect }, { "SAVE", commandSave }, { "SERVERTIME", commandServerTime }, --- 1351,1354 ---- |