diff options
author | Christopher Schwarz <lakitu7@gmail.com> | 2009-10-06 06:05:18 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:16:40 +0000 |
commit | 7e5f69e66c03299cde62da178f3c9b97319c20ba (patch) | |
tree | 193ef354bd55f3d426cbfdae7cec635539754938 /src/ui | |
parent | 4c26128cbf19552bb3939e0b1b0a518a793e946f (diff) |
* Remove tell, tell_target, tell_attacker. Depreciated by /m
* Remove outdated refrence to the "boost" command
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/ui_atoms.c | 2 | ||||
-rw-r--r-- | src/ui/ui_local.h | 1 | ||||
-rw-r--r-- | src/ui/ui_main.c | 4 |
3 files changed, 1 insertions, 6 deletions
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 ) ); |