M_HandleMenuMessage

Do not permit a menu message to be interacted with if it has not completely risen.
Fixes the occasional skip if you hold the button a fraction of a frame too long, which most scarily could happen on the data erase confirmation...
This commit is contained in:
toaster 2023-02-01 23:34:16 +00:00
parent fd575deb10
commit 61020a2621

View file

@ -136,7 +136,10 @@ void M_HandleMenuMessage(void)
boolean btnok = M_MenuBackPressed(pid);
if (menumessage.fadetimer < 9)
{
menumessage.fadetimer++;
return;
}
switch (menumessage.flags)
{