mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-01-10 19:09:45 +01:00
Allow pressing Esc to go back to pause menu from quit prompt
Allowing for more actions makes things feel smoother.
This commit is contained in:
parent
b63347b70c
commit
f6d73c62ec
1 changed files with 9 additions and 2 deletions
|
@ -1958,13 +1958,20 @@ void mapinput()
|
||||||
{
|
{
|
||||||
game.press_action = true;
|
game.press_action = true;
|
||||||
}
|
}
|
||||||
if (game.menupage < 9)
|
if (game.menupage < 12)
|
||||||
{
|
{
|
||||||
if (key.isDown(KEYBOARD_ENTER) || key.isDown(game.controllerButton_map) ) game.press_map = true;
|
if (key.isDown(KEYBOARD_ENTER) || key.isDown(game.controllerButton_map) ) game.press_map = true;
|
||||||
if (key.isDown(27))
|
if (key.isDown(27))
|
||||||
{
|
{
|
||||||
game.mapheld = true;
|
game.mapheld = true;
|
||||||
game.menupage = 30;
|
if (game.menupage < 9)
|
||||||
|
{
|
||||||
|
game.menupage = 30;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
game.menupage = 31;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue