summaryrefslogtreecommitdiff
path: root/src/cgame/cg_consolecmds.c
diff options
context:
space:
mode:
authorChristopher Schwarz <lakitu7@gmail.com>2009-10-06 06:05:18 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:16:40 +0000
commit7e5f69e66c03299cde62da178f3c9b97319c20ba (patch)
tree193ef354bd55f3d426cbfdae7cec635539754938 /src/cgame/cg_consolecmds.c
parent4c26128cbf19552bb3939e0b1b0a518a793e946f (diff)
* Remove tell, tell_target, tell_attacker. Depreciated by /m
* Remove outdated refrence to the "boost" command
Diffstat (limited to 'src/cgame/cg_consolecmds.c')
-rw-r--r--src/cgame/cg_consolecmds.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/src/cgame/cg_consolecmds.c b/src/cgame/cg_consolecmds.c
index 4b408cf1..524d3412 100644
--- a/src/cgame/cg_consolecmds.c
+++ b/src/cgame/cg_consolecmds.c
@@ -143,36 +143,6 @@ static void CG_ScoresUp_f( void )
}
}
-static void CG_TellTarget_f( void )
-{
- int clientNum;
- char command[ 128 ];
- char message[ 128 ];
-
- clientNum = CG_CrosshairPlayer( );
- if( clientNum == -1 )
- return;
-
- trap_Args( message, 128 );
- Com_sprintf( command, 128, "tell %i %s", clientNum, message );
- trap_SendClientCommand( command );
-}
-
-static void CG_TellAttacker_f( void )
-{
- int clientNum;
- char command[ 128 ];
- char message[ 128 ];
-
- clientNum = CG_LastAttacker( );
- if( clientNum == -1 )
- return;
-
- trap_Args( message, 128 );
- Com_sprintf( command, 128, "tell %i %s", clientNum, message );
- trap_SendClientCommand( command );
-}
-
void CG_ClientList_f( void )
{
clientInfo_t *ci;
@@ -232,8 +202,6 @@ static consoleCommand_t commands[ ] =
{ "weapnext", CG_NextWeapon_f },
{ "weapprev", CG_PrevWeapon_f },
{ "weapon", CG_Weapon_f },
- { "tell_target", CG_TellTarget_f },
- { "tell_attacker", CG_TellAttacker_f },
{ "testPS", CG_TestPS_f },
{ "destroyTestPS", CG_DestroyTestPS_f },
{ "testTS", CG_TestTS_f },
@@ -301,7 +269,6 @@ void CG_InitConsoleCommands( void )
trap_AddCommand( "vsay_local" );
trap_AddCommand( "m" );
trap_AddCommand( "mt" );
- trap_AddCommand( "tell" );
trap_AddCommand( "give" );
trap_AddCommand( "god" );
trap_AddCommand( "notarget" );
@@ -319,7 +286,6 @@ void CG_InitConsoleCommands( void )
trap_AddCommand( "buy" );
trap_AddCommand( "sell" );
trap_AddCommand( "reload" );
- trap_AddCommand( "boost" );
trap_AddCommand( "itemact" );
trap_AddCommand( "itemdeact" );
trap_AddCommand( "itemtoggle" );