From 3e5b31af20cb275d777eb2d006b9d525e4f08c7e Mon Sep 17 00:00:00 2001 From: Ben Millwood Date: Wed, 29 Sep 2010 18:04:22 +0000 Subject: * Fix /me in teamsay menu --- src/game/g_cmds.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/game/g_cmds.c') diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index 01bb8c71..390c6a5b 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -730,22 +730,6 @@ void G_Say( gentity_t *ent, saymode_t mode, const char *chatText ) } } -/* -================== -Cmd_ActionMessage_f - -This is just a wrapper for convenience when speaking from the console -================== -*/ -static void Cmd_ActionMessage_f( gentity_t *ent ) -{ - char text[ MAX_SAY_TEXT ]; - - Com_sprintf( text, sizeof( text ), "/me %s", ConcatArgs( 1 ) ); - - G_Say( ent, SAY_ALL, text ); -} - /* ================== Cmd_SayArea_f @@ -2871,7 +2855,6 @@ commands_t cmds[ ] = { { "levelshot", CMD_CHEAT, Cmd_LevelShot_f }, { "listmaps", CMD_MESSAGE|CMD_INTERMISSION, Cmd_ListMaps_f }, { "m", CMD_MESSAGE|CMD_INTERMISSION, Cmd_PrivateMessage_f }, - { "me", CMD_MESSAGE|CMD_INTERMISSION, Cmd_ActionMessage_f }, { "mt", CMD_MESSAGE|CMD_INTERMISSION, Cmd_PrivateMessage_f }, { "noclip", CMD_CHEAT_TEAM, Cmd_Noclip_f }, { "notarget", CMD_CHEAT|CMD_TEAM|CMD_LIVING, Cmd_Notarget_f }, -- cgit