From 7e5f69e66c03299cde62da178f3c9b97319c20ba Mon Sep 17 00:00:00 2001 From: Christopher Schwarz Date: Tue, 6 Oct 2009 06:05:18 +0000 Subject: * Remove tell, tell_target, tell_attacker. Depreciated by /m * Remove outdated refrence to the "boost" command --- src/ui/ui_atoms.c | 2 -- src/ui/ui_local.h | 1 - src/ui/ui_main.c | 4 +--- 3 files changed, 1 insertion(+), 6 deletions(-) (limited to 'src/ui') diff --git a/src/ui/ui_atoms.c b/src/ui/ui_atoms.c index c78df7ff..9f0f3a9a 100644 --- a/src/ui/ui_atoms.c +++ b/src/ui/ui_atoms.c @@ -135,13 +135,11 @@ static void UI_MessageMode_f( void ) case '\0': // Global uiInfo.chatTeam = qfalse; - uiInfo.chatTargetClientNum = -1; break; case '2': // Team uiInfo.chatTeam = qtrue; - uiInfo.chatTargetClientNum = -1; break; } diff --git a/src/ui/ui_local.h b/src/ui/ui_local.h index 938f1e23..241cb6d8 100644 --- a/src/ui/ui_local.h +++ b/src/ui/ui_local.h @@ -282,7 +282,6 @@ typedef struct qboolean inGameLoad; qboolean chatTeam; - int chatTargetClientNum; } uiInfo_t; diff --git a/src/ui/ui_main.c b/src/ui/ui_main.c index 07883fc8..c63dae79 100644 --- a/src/ui/ui_main.c +++ b/src/ui/ui_main.c @@ -2995,9 +2995,7 @@ static void UI_RunMenuScript( char **args ) if( buffer[ 0 ] ) { - if( uiInfo.chatTargetClientNum != -1 ) - trap_Cmd_ExecuteText( EXEC_APPEND, va( "tell %i \"%s\"\n", uiInfo.chatTargetClientNum, buffer ) ); - else if( uiInfo.chatTeam ) + if( uiInfo.chatTeam ) trap_Cmd_ExecuteText( EXEC_APPEND, va( "say_team \"%s\"\n", buffer ) ); else trap_Cmd_ExecuteText( EXEC_APPEND, va( "say \"%s\"\n", buffer ) ); -- cgit