From 5cc63df5134834a49a44a929dd549dc924040793 Mon Sep 17 00:00:00 2001 From: Alyssa Milburn Date: Sat, 25 Aug 2012 14:42:14 +0200 Subject: TONY: Fix exiting from the save menu. We have to copy _nState before it gets reset in closeState. --- engines/tony/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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); -- cgit v1.2.3