mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-02-03 07:45:31 +03: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:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user