Skip to content

Commit 9cfbd1a

Browse files
committed
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.
1 parent 96812f8 commit 9cfbd1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

desktop_version/src/Game.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6874,7 +6874,7 @@ void Game::returntoingame(void)
68746874
gamestate = MAPMODE;
68756875
DEFER_CALLBACK(setflipmode);
68766876
DEFER_CALLBACK(setfademode);
6877-
if (!map.custommode && !graphics.flipmode)
6877+
if (!map.custommode && !graphics.setflipmode)
68786878
{
68796879
obj.flags[73] = true;
68806880
}

0 commit comments

Comments
 (0)