From 181f6a9939ddddfc765114319fa14c74f316dd09 Mon Sep 17 00:00:00 2001 From: Michael Levin Date: Sat, 3 Oct 2009 11:16:05 +0000 Subject: * Menus_CloseAll() now takes one argument -- force. This argument determines whether to close all menus or ignore menus that don't respond to CloseAll (via the new dontCloseAll MENU_TRUE attribute). * ui_messagemode2222 and the like won't activate the teamsay menu * Say menu will no longer close when the player dies --- src/game/g_cmds.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/game') diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index f71fa34d..a6e73d6a 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -2831,6 +2831,7 @@ Cmd_Test_f */ void Cmd_Test_f( gentity_t *ent ) { + G_CloseMenus( ent - g_entities ); } /* -- cgit