mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
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
This commit is contained in:
parent
4424648917
commit
7f3708b55d
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue