diff options
-rw-r--r-- | engines/sci/engine/vm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp index 7b5fe3396a..b01e5054af 100644 --- a/engines/sci/engine/vm.cpp +++ b/engines/sci/engine/vm.cpp @@ -1947,7 +1947,7 @@ static void _init_stack_base_with_selector(EngineState *s, Selector selector) { EngineState *g_EngineState = 0; -static EngineState *_game_run(EngineState *s, int restoring) { +static EngineState *_game_run(EngineState *&s, int restoring) { EngineState *successor = NULL; int game_is_finished = 0; g_EngineState = s; @@ -2014,7 +2014,7 @@ int game_run(EngineState **_s) { return 1; } // and ENGAGE! - *_s = s = _game_run(s, 0); + _game_run(*_s, 0); sciprintf(" Game::play() finished.\n"); |