mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 09:28:15 +03:00
Merge pull request #758 from InfoTeddy/general-bug-fixes
Allow using Esc in Super Gravitron quit menu
This commit is contained in:
@@ -2215,13 +2215,16 @@ void mapinput(void)
|
||||
{
|
||||
game.press_action = true;
|
||||
}
|
||||
if (game.menupage < 12 || (game.menupage >= 30 && game.menupage <= 32))
|
||||
if (game.menupage < 12
|
||||
|| (game.menupage >= 20 && game.menupage <= 21)
|
||||
|| (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)
|
||||
{
|
||||
game.mapheld = true;
|
||||
if (game.menupage < 9)
|
||||
if (game.menupage < 9
|
||||
|| (game.menupage >= 20 && game.menupage <= 21))
|
||||
{
|
||||
game.menupage = 30;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user