aboutsummaryrefslogtreecommitdiff
path: root/engines/wage/wage.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2017-08-29 20:15:19 +0200
committerEugene Sandulenko2017-08-29 20:15:19 +0200
commit31eb4724d3d8041fc4478f9073c743fcfb138ad3 (patch)
tree23d648378bf4859a04f5d9692a7e19037e450c92 /engines/wage/wage.cpp
parent5eaa48ec965f4c1701f4fb310c43fa3042845190 (diff)
downloadscummvm-rg350-31eb4724d3d8041fc4478f9073c743fcfb138ad3.tar.gz
scummvm-rg350-31eb4724d3d8041fc4478f9073c743fcfb138ad3.tar.bz2
scummvm-rg350-31eb4724d3d8041fc4478f9073c743fcfb138ad3.zip
WAGE: Correctly specify target name for dumped scripts
Diffstat (limited to 'engines/wage/wage.cpp')
-rw-r--r--engines/wage/wage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wage/wage.cpp b/engines/wage/wage.cpp
index ce47e3ebea..c5f3673255 100644
--- a/engines/wage/wage.cpp
+++ b/engines/wage/wage.cpp
@@ -431,7 +431,7 @@ void WageEngine::processTurnInternal(Common::String *textInput, Designed *clickI
bool monsterWasNull = (_monster == NULL);
Script *script = playerScene->_script != NULL ? playerScene->_script : _world->_globalScript;
- bool handled = script->execute(_world, _loopCount++, textInput, clickInput, this);
+ bool handled = script->execute(_world, _loopCount++, textInput, clickInput);
playerScene = _world->_player->_currentScene;