diff options
author | Alyssa Milburn | 2012-08-25 14:42:14 +0200 |
---|---|---|
committer | Alyssa Milburn | 2012-08-25 14:46:47 +0200 |
commit | 5cc63df5134834a49a44a929dd549dc924040793 (patch) | |
tree | 742b40ff0ed8f8f44c6c6b6d58e807982e90849b /engines/tony | |
parent | ca82454d74c27f496666a76ef2c96528375d8b92 (diff) | |
download | scummvm-rg350-5cc63df5134834a49a44a929dd549dc924040793.tar.gz scummvm-rg350-5cc63df5134834a49a44a929dd549dc924040793.tar.bz2 scummvm-rg350-5cc63df5134834a49a44a929dd549dc924040793.zip |
TONY: Fix exiting from the save menu.
We have to copy _nState before it gets reset in closeState.
Diffstat (limited to 'engines/tony')
-rw-r--r-- | engines/tony/game.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tony/game.cpp b/engines/tony/game.cpp index 9b1d85f827..321a4fa88d 100644 --- a/engines/tony/game.cpp +++ b/engines/tony/game.cpp @@ -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); |