diff options
-rw-r--r-- | engines/sci/sci.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp index f32e0e16f9..fdc016b1b9 100644 --- a/engines/sci/sci.cpp +++ b/engines/sci/sci.cpp @@ -286,6 +286,11 @@ Common::Error SciEngine::run() { // We set this, so that the game automatically quit right after init _gamestate->variables[VAR_GLOBAL][4] = TRUE_REG; + // Jones only initializes its menus when restarting/restoring, thus set + // the gameIsRestarting flag here before initializing. Fixes bug #6536. + if (g_sci->getGameId() == GID_JONES) + _gamestate->gameIsRestarting = GAMEISRESTARTING_RESTORE; + _gamestate->_executionStackPosChanged = false; run_vm(_gamestate); |