diff options
-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 |