mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-21 19:31:26 +00:00
Fix gamepad being unable to skip tutorial prompt
This commit is contained in:
parent
f3988231d4
commit
f5ede24775
1 changed files with 2 additions and 2 deletions
|
@ -3466,7 +3466,7 @@ boolean M_Responder(event_t *ev)
|
||||||
if (!useEventHandler)
|
if (!useEventHandler)
|
||||||
{
|
{
|
||||||
UINT16 type = currentMenu->menuitems[itemOn].alphaKey;
|
UINT16 type = currentMenu->menuitems[itemOn].alphaKey;
|
||||||
if (type == MM_YESNO && !(ch == ' ' || ch == 'n' || ch == 'y' || ch == KEY_ESCAPE || ch == KEY_ENTER || ch == KEY_DEL))
|
if (type == MM_YESNO && !(ch == ' ' || ch == 'n' || ch == 'y' || ch == KEY_ESCAPE || ch == KEY_ENTER || ch == KEY_DEL || ch == KEY_BACKSPACE))
|
||||||
return true;
|
return true;
|
||||||
if (routine)
|
if (routine)
|
||||||
routine(ch);
|
routine(ch);
|
||||||
|
@ -9115,7 +9115,7 @@ static void M_LoadGame(INT32 choice)
|
||||||
|
|
||||||
if (tutorialmap && cv_tutorialprompt.value)
|
if (tutorialmap && cv_tutorialprompt.value)
|
||||||
{
|
{
|
||||||
M_StartMessage("Do you want to \x82play a brief Tutorial\x80?\n\nWe highly recommend this because \nthe controls are slightly different \nfrom other games.\n\nPress the\x82 Y\x80 key or the\x83 A button\x80 to go\nPress the\x82 N\x80 key or the\x83 Y button\x80 to skip\n",
|
M_StartMessage("Do you want to \x82play a brief Tutorial\x80?\n\nWe highly recommend this because \nthe controls are slightly different \nfrom other games.\n\nPress the\x82 Y\x80 key or the\x83 A button\x80 to go\nPress the\x82 N\x80 key or the\x83 X button\x80 to skip\n",
|
||||||
M_FirstTimeResponse, MM_YESNO);
|
M_FirstTimeResponse, MM_YESNO);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue