Skip to content

Commit

Permalink
TONY: Fix crash opening the Options menu in-game
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Jun 17, 2012
1 parent a91553e commit d0c6497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/tony/game.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit d0c6497

Please sign in to comment.