1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 18:19:43 +01:00

Fix Flip Mode persisting in in-game options menu

Now graphics.flipmode is turned off when going into the menu, and turned
back on if necessary when exiting.
This commit is contained in:
Misa 2020-06-22 21:41:21 -07:00 committed by Ethan Lee
parent c5a5589ce5
commit 441e7babd7
2 changed files with 2 additions and 0 deletions

View file

@ -7764,4 +7764,5 @@ void Game::returntopausemenu()
map.kludge_to_bg(); map.kludge_to_bg();
map.tdrawback = true; map.tdrawback = true;
game.mapheld = true; game.mapheld = true;
graphics.flipmode = graphics.setflipmode;
} }

View file

@ -2143,6 +2143,7 @@ void mapmenuactionpress()
// Graphic options and game options // Graphic options and game options
music.playef(11); music.playef(11);
game.gamestate = TITLEMODE; game.gamestate = TITLEMODE;
graphics.flipmode = false;
game.ingame_titlemode = true; game.ingame_titlemode = true;
if (game.menupage == 32) if (game.menupage == 32)
{ {