aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorFilippos Karapetis2010-01-31 01:15:05 +0000
committerFilippos Karapetis2010-01-31 01:15:05 +0000
commit8b9cdd671f1bb613b9efef3fec5acd21fdc297ea (patch)
treeaf699e828d3a2b81820b1bd7b1b06a7d452e1ac4 /engines/sci
parent9c178c2d3a3dcce79f12f0b14ea13f4c9261fb94 (diff)
downloadscummvm-rg350-8b9cdd671f1bb613b9efef3fec5acd21fdc297ea.tar.gz
scummvm-rg350-8b9cdd671f1bb613b9efef3fec5acd21fdc297ea.tar.bz2
scummvm-rg350-8b9cdd671f1bb613b9efef3fec5acd21fdc297ea.zip
Removed an unused parameter from _game_run()
svn-id: r47734
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/vm.cpp6
1 files changed, 3 insertions, 3 deletions
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.");