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:
parent
c5a5589ce5
commit
441e7babd7
2 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue