From 7f3708b55dbc83d6eded696f3da1b018532978de Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Fri, 13 Jun 2014 09:04:05 +0000 Subject: [PATCH] Menus: Fix the recently introduced bug that would take the keypress given at "PRESS OPEN TO RESTART LEVEL" as a yes at the following prompt to load your most recent savegame, seemingly without asking. git-svn-id: https://svn.eduke32.com/eduke32@4507 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/gameexec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/polymer/eduke32/source/gameexec.c b/polymer/eduke32/source/gameexec.c index f42fb1a04..e1cd33ca9 100644 --- a/polymer/eduke32/source/gameexec.c +++ b/polymer/eduke32/source/gameexec.c @@ -35,6 +35,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "osdcmds.h" #include "osd.h" #include "menus.h" +#include "input.h" #ifdef LUNATIC # include "lunatic_game.h" @@ -994,6 +995,7 @@ static int32_t VM_ResetPlayer(int32_t g_p, int32_t g_flags) { g_player[g_p].ps->gm |= MODE_MENU; KB_ClearKeyDown(sc_Space); + I_AdvanceTriggerClear(); M_ChangeMenu(MENU_RESETPLAYER); } else g_player[g_p].ps->gm = MODE_RESTART;