Skip to content

Commit

Permalink
TONY: Fix exiting from the save menu.
Browse files Browse the repository at this point in the history
We have to copy _nState before it gets reset in closeState.
  • Loading branch information
fuzzie committed Aug 25, 2012
1 parent ca82454 commit 5cc63df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/tony/game.cpp
Expand Up @@ -1008,8 +1008,8 @@ void RMOptionScreen::changeState(CORO_PARAM, OptionScreenState newState) {

CORO_BEGIN_CODE(_ctx);

closeState();
_nLastState = _nState;
closeState();
_nState = newState;
CORO_INVOKE_0(initState);

Expand Down

0 comments on commit 5cc63df

Please sign in to comment.