1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-22 17:49:43 +01:00

Fix invincibility/slowdown cursor positions when exiting those menus

This commit is contained in:
Ethan Lee 2020-01-17 22:14:29 -05:00
parent 9eebbc542e
commit 134a0f1070

View file

@ -609,7 +609,7 @@ SDL_assert(0 && "Remove open level dir");
//back //back
music.playef(11, 10); music.playef(11, 10);
game.createmenu("accessibility"); game.createmenu("accessibility");
game.currentmenuoption = 2; game.currentmenuoption = 3;
map.nexttowercolour(); map.nexttowercolour();
} }
else else
@ -620,7 +620,7 @@ SDL_assert(0 && "Remove open level dir");
game.savestats(map, dwgfx); game.savestats(map, dwgfx);
music.playef(11, 10); music.playef(11, 10);
game.createmenu("accessibility"); game.createmenu("accessibility");
game.currentmenuoption = 2; game.currentmenuoption = 3;
map.nexttowercolour(); map.nexttowercolour();
} }
} }
@ -631,7 +631,7 @@ SDL_assert(0 && "Remove open level dir");
//back //back
music.playef(11, 10); music.playef(11, 10);
game.createmenu("accessibility"); game.createmenu("accessibility");
game.currentmenuoption = 3; game.currentmenuoption = 4;
map.nexttowercolour(); map.nexttowercolour();
} }
else else
@ -654,7 +654,7 @@ SDL_assert(0 && "Remove open level dir");
game.savestats(map, dwgfx); game.savestats(map, dwgfx);
music.playef(11, 10); music.playef(11, 10);
game.createmenu("accessibility"); game.createmenu("accessibility");
game.currentmenuoption = 3; game.currentmenuoption = 4;
map.nexttowercolour(); map.nexttowercolour();
} }
else if (game.currentmenuoption == 1) else if (game.currentmenuoption == 1)
@ -664,7 +664,7 @@ SDL_assert(0 && "Remove open level dir");
game.savestats(map, dwgfx); game.savestats(map, dwgfx);
music.playef(11, 10); music.playef(11, 10);
game.createmenu("accessibility"); game.createmenu("accessibility");
game.currentmenuoption = 3; game.currentmenuoption = 4;
map.nexttowercolour(); map.nexttowercolour();
} }
else if (game.currentmenuoption == 2) else if (game.currentmenuoption == 2)
@ -674,7 +674,7 @@ SDL_assert(0 && "Remove open level dir");
game.savestats(map, dwgfx); game.savestats(map, dwgfx);
music.playef(11, 10); music.playef(11, 10);
game.createmenu("accessibility"); game.createmenu("accessibility");
game.currentmenuoption = 3; game.currentmenuoption = 4;
map.nexttowercolour(); map.nexttowercolour();
} }
else if (game.currentmenuoption == 3) else if (game.currentmenuoption == 3)
@ -684,7 +684,7 @@ SDL_assert(0 && "Remove open level dir");
game.savestats(map, dwgfx); game.savestats(map, dwgfx);
music.playef(11, 10); music.playef(11, 10);
game.createmenu("accessibility"); game.createmenu("accessibility");
game.currentmenuoption = 3; game.currentmenuoption = 4;
map.nexttowercolour(); map.nexttowercolour();
} }
} }