mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59:43 +01:00
Fix returning from confirm quit menu putting cursor on options
The in-game menu code is better than it was in 2.2 but still pretty hardcoded, so to fix this just change each individual case around. This bug happened because the "options" button was in the place where "quit to menu" was previously, but Terry forgot to update it when changing all the options around.
This commit is contained in:
parent
aa5c2d9dc2
commit
d89ce76577
1 changed files with 3 additions and 3 deletions
|
@ -2147,7 +2147,7 @@ void mapinput(void)
|
|||
{
|
||||
game.press_action = true;
|
||||
}
|
||||
if (game.menupage < 12 || (game.menupage >= 30 && game.menupage <= 33))
|
||||
if (game.menupage < 12 || (game.menupage >= 30 && game.menupage <= 32))
|
||||
{
|
||||
if (key.isDown(KEYBOARD_ENTER) || key.isDown(game.controllerButton_map) ) game.press_map = true;
|
||||
if (key.isDown(27) && !game.mapheld)
|
||||
|
@ -2159,7 +2159,7 @@ void mapinput(void)
|
|||
}
|
||||
else if (game.menupage < 12)
|
||||
{
|
||||
game.menupage = 31;
|
||||
game.menupage = 32;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -2297,7 +2297,7 @@ static void mapmenuactionpress(void)
|
|||
case 10:
|
||||
//return to pause menu
|
||||
music.playef(11);
|
||||
game.menupage = 31;
|
||||
game.menupage = 32;
|
||||
break;
|
||||
case 11:
|
||||
//quit to menu
|
||||
|
|
Loading…
Reference in a new issue