From 8b9cdd671f1bb613b9efef3fec5acd21fdc297ea Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sun, 31 Jan 2010 01:15:05 +0000 Subject: Removed an unused parameter from _game_run() svn-id: r47734 --- engines/sci/engine/vm.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/sci') diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp index 984dd1f043..001f154974 100644 --- a/engines/sci/engine/vm.cpp +++ b/engines/sci/engine/vm.cpp @@ -1957,7 +1957,7 @@ static void _init_stack_base_with_selector(EngineState *s, Selector selector) { s->stack_base[1] = NULL_REG; } -static EngineState *_game_run(EngineState *&s, int restoring) { +static EngineState *_game_run(EngineState *&s) { EngineState *successor = NULL; int game_is_finished = 0; @@ -1966,7 +1966,7 @@ static EngineState *_game_run(EngineState *&s, int restoring) { do { s->_executionStackPosChanged = false; - run_vm(s, (successor || restoring) ? 1 : 0); + run_vm(s, successor ? 1 : 0); if (s->restarting_flags & SCI_GAME_IS_RESTARTING_NOW) { // Restart was requested? successor = NULL; s->_executionStack.clear(); @@ -2025,7 +2025,7 @@ int game_run(EngineState **_s) { return 1; } // and ENGAGE! - _game_run(*_s, 0); + _game_run(*_s); debugC(2, kDebugLevelVM, "Game::play() finished."); -- cgit v1.2.3