diff options
author | Ben Millwood <thebenmachine@gmail.com> | 2011-08-01 17:50:38 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:18:10 +0000 |
commit | ca6b3e6b65a816b21912a3edeb457383349f9b48 (patch) | |
tree | 7946255b266f17b75bf01da585c93d72a121bf77 | |
parent | 9ea2e3f2a5a0672d0285ea5f143302731fe5fc47 (diff) |
* Never interpret the /me command as teamchat
-rw-r--r-- | src/ui/ui_atoms.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/ui/ui_atoms.c b/src/ui/ui_atoms.c index 0d50e286..af3a3ef8 100644 --- a/src/ui/ui_atoms.c +++ b/src/ui/ui_atoms.c @@ -183,16 +183,11 @@ static void UI_MessageMode_f( void ) static void UI_Me_f( void ) { - char buf[ MAX_SAY_TEXT - 4 ], *cmd; + char buf[ MAX_SAY_TEXT - 4 ]; UI_ConcatArgs( 1, buf, sizeof( buf ) ); - if( uiInfo.chatTeam ) - cmd = "say_team"; - else - cmd = "say"; - - trap_Cmd_ExecuteText( EXEC_APPEND, va( "%s \"/me %s\"", cmd, buf ) ); + trap_Cmd_ExecuteText( EXEC_APPEND, va( "say \"/me %s\"", buf ) ); } struct uicmd |