mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
Fix not-Flip-Mode flag turning off when returning from options menu
We need to check for graphics.setflipmode, not graphics.flipmode, because graphics.flipmode only gets assigned at the end of the frame (due to the deferred callback). Otherwise, returning from the options menu would always turn flag 73 on, which would make you ineligible to get the Flip Mode trophy, even if you're in Flip Mode.
This commit is contained in:
parent
b132f4fc6c
commit
416fe00c9d
1 changed files with 1 additions and 1 deletions
|
@ -6873,7 +6873,7 @@ void Game::returntoingame(void)
|
|||
gamestate = MAPMODE;
|
||||
DEFER_CALLBACK(setflipmode);
|
||||
DEFER_CALLBACK(setfademode);
|
||||
if (!map.custommode && !graphics.flipmode)
|
||||
if (!map.custommode && !graphics.setflipmode)
|
||||
{
|
||||
obj.flags[73] = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue