mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
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:
parent
fd575deb10
commit
61020a2621
1 changed files with 3 additions and 0 deletions
|
|
@ -136,7 +136,10 @@ void M_HandleMenuMessage(void)
|
||||||
boolean btnok = M_MenuBackPressed(pid);
|
boolean btnok = M_MenuBackPressed(pid);
|
||||||
|
|
||||||
if (menumessage.fadetimer < 9)
|
if (menumessage.fadetimer < 9)
|
||||||
|
{
|
||||||
menumessage.fadetimer++;
|
menumessage.fadetimer++;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
switch (menumessage.flags)
|
switch (menumessage.flags)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue