aboutsummaryrefslogtreecommitdiff
path: root/engines/tony
diff options
context:
space:
mode:
authorPaul Gilbert2012-06-17 14:22:53 +1000
committerPaul Gilbert2012-06-17 14:22:53 +1000
commitd0c649721276e289745124f28005c08d61381070 (patch)
tree908e03bb972dd23b97c928c4a63b7a8e661c2011 /engines/tony
parenta91553efeb0e2beaf942fc3f7db30868ac8c6afa (diff)
downloadscummvm-rg350-d0c649721276e289745124f28005c08d61381070.tar.gz
scummvm-rg350-d0c649721276e289745124f28005c08d61381070.tar.bz2
scummvm-rg350-d0c649721276e289745124f28005c08d61381070.zip
TONY: Fix crash opening the Options menu in-game
Diffstat (limited to 'engines/tony')
-rw-r--r--engines/tony/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tony/game.cpp b/engines/tony/game.cpp
index cca55f00dd..2e7297cac3 100644
--- a/engines/tony/game.cpp
+++ b/engines/tony/game.cpp
@@ -888,7 +888,7 @@ void RMOptionScreen::init(CORO_PARAM, RMGfxTargetBuffer &bigBuf, bool &result) {
bigBuf.addPrim(new RMGfxPrimitive(this));
- if (_nState == MENULOAD || _nState == MENUSAVE)
+ if (_nState == MENULOAD || _nState == MENUSAVE || _nState == MENUNONE)
_nState = MENUGAME;
CORO_INVOKE_0(initState);