diff options
Diffstat (limited to 'engines/sherlock/sherlock.cpp')
-rw-r--r-- | engines/sherlock/sherlock.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sherlock/sherlock.cpp b/engines/sherlock/sherlock.cpp index 20a805594e..2a1b456b76 100644 --- a/engines/sherlock/sherlock.cpp +++ b/engines/sherlock/sherlock.cpp @@ -122,10 +122,10 @@ void SherlockEngine::sceneLoop() { while (!shouldQuit() && _scene->_goToScene == -1) { // See if a script needs to be completed from either a goto room code, // or a script that was interrupted by another script - if (_scripts->_scriptMoreFlag == 1 || _scripts->_scriptMoreFlag == 3) - _talk->talkTo(_scripts->_scriptName); + if (_talk->_scriptMoreFlag == 1 || _talk->_scriptMoreFlag == 3) + _talk->talkTo(_talk->_scriptName); else - _scripts->_scriptMoreFlag = 0; + _talk->_scriptMoreFlag = 0; // Handle any input from the keyboard or mouse handleInput(); |