Update of /cvsroot/wpdev/wolfpack
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27479
Modified Files:
commands.cpp
Log Message:
Removed kill
Index: commands.cpp
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/commands.cpp,v
retrieving revision 1.245
retrieving revision 1.246
diff -C2 -d -r1.245 -r1.246
*** commands.cpp 9 Jul 2004 08:58:54 -0000 1.245
--- commands.cpp 9 Jul 2004 09:58:56 -0000 1.246
***************
*** 195,211 ****
/*
- \command kill
- \description Kills the selected character.
- \notes You cannot kill invulnerable characters this way.
- */
- void commandKill( cUOSocket* socket, const QString& command, const QStringList& args ) throw()
- {
- Q_UNUSED( args );
- Q_UNUSED( command );
- socket->sysMessage( tr( "Please select a target to kill" ) );
- socket->attachTarget( new cKillTarget );
- }
-
- /*
\command fix
\description Resend the player information.
--- 195,198 ----
***************
*** 765,790 ****
/*
- \command invis
- \description Toggle invisibility.
- */
- void commandInvis( cUOSocket* socket, const QString& command, const QStringList& args ) throw()
- {
- Q_UNUSED( command );
- socket->player()->removeFromView();
-
- if ( socket->player()->isInvisible() || ( args.count() > 0 && args[0].toInt() == 0 ) )
- {
- socket->player()->setInvisible( false );
- socket->sysMessage( tr( "Invisible is now '0'." ) );
- }
- else if ( !socket->player()->isInvisible() || ( args.count() > 0 && args[0].toInt() == 1 ) )
- {
- socket->player()->setInvisible( true );
- socket->sysMessage( tr( "Invisible is now '1'." ) );
- }
-
- socket->player()->resend( false );
- }
- /*
\command pagenotify
\description Toggle notification about new support tickets.
--- 752,755 ----
***************
*** 1076,1081 ****
{ "FIX", commandFix },
{ "GMTALK", commandGmtalk },
- { "INVIS", commandInvis },
- { "KILL", commandKill },
{ "MOVE", commandMove },
{ "PAGES", commandPages },
--- 1041,1044 ----
|