diff options
Diffstat (limited to 'engines/mohawk/riven.cpp')
| -rw-r--r-- | engines/mohawk/riven.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mohawk/riven.cpp b/engines/mohawk/riven.cpp index 4d6c6feeb1..03a489884b 100644 --- a/engines/mohawk/riven.cpp +++ b/engines/mohawk/riven.cpp @@ -698,7 +698,7 @@ void MohawkEngine_Riven::runCardScript(uint16 scriptType) { for (uint16 i = 0; i < _cardData.scripts.size(); i++) if (_cardData.scripts[i].type == scriptType) { RivenScriptPtr script = _cardData.scripts[i].script; - script->runScript(); + _scriptMan->runScript(script, false); break; } } @@ -708,7 +708,7 @@ void MohawkEngine_Riven::runHotspotScript(uint16 hotspot, uint16 scriptType) { for (uint16 i = 0; i < _hotspots[hotspot].scripts.size(); i++) if (_hotspots[hotspot].scripts[i].type == scriptType) { RivenScriptPtr script = _hotspots[hotspot].scripts[i].script; - script->runScript(); + _scriptMan->runScript(script, false); break; } } |
