From 134a0f10700fd5dd47dcf5a844259ad3043ff115 Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Fri, 17 Jan 2020 22:14:29 -0500 Subject: [PATCH] Fix invincibility/slowdown cursor positions when exiting those menus --- desktop_version/src/Input.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/desktop_version/src/Input.cpp b/desktop_version/src/Input.cpp index f9ed33de..11862710 100644 --- a/desktop_version/src/Input.cpp +++ b/desktop_version/src/Input.cpp @@ -609,7 +609,7 @@ SDL_assert(0 && "Remove open level dir"); //back music.playef(11, 10); game.createmenu("accessibility"); - game.currentmenuoption = 2; + game.currentmenuoption = 3; map.nexttowercolour(); } else @@ -620,7 +620,7 @@ SDL_assert(0 && "Remove open level dir"); game.savestats(map, dwgfx); music.playef(11, 10); game.createmenu("accessibility"); - game.currentmenuoption = 2; + game.currentmenuoption = 3; map.nexttowercolour(); } } @@ -631,7 +631,7 @@ SDL_assert(0 && "Remove open level dir"); //back music.playef(11, 10); game.createmenu("accessibility"); - game.currentmenuoption = 3; + game.currentmenuoption = 4; map.nexttowercolour(); } else @@ -654,7 +654,7 @@ SDL_assert(0 && "Remove open level dir"); game.savestats(map, dwgfx); music.playef(11, 10); game.createmenu("accessibility"); - game.currentmenuoption = 3; + game.currentmenuoption = 4; map.nexttowercolour(); } else if (game.currentmenuoption == 1) @@ -664,7 +664,7 @@ SDL_assert(0 && "Remove open level dir"); game.savestats(map, dwgfx); music.playef(11, 10); game.createmenu("accessibility"); - game.currentmenuoption = 3; + game.currentmenuoption = 4; map.nexttowercolour(); } else if (game.currentmenuoption == 2) @@ -674,7 +674,7 @@ SDL_assert(0 && "Remove open level dir"); game.savestats(map, dwgfx); music.playef(11, 10); game.createmenu("accessibility"); - game.currentmenuoption = 3; + game.currentmenuoption = 4; map.nexttowercolour(); } else if (game.currentmenuoption == 3) @@ -684,7 +684,7 @@ SDL_assert(0 && "Remove open level dir"); game.savestats(map, dwgfx); music.playef(11, 10); game.createmenu("accessibility"); - game.currentmenuoption = 3; + game.currentmenuoption = 4; map.nexttowercolour(); } }