aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/myst.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mohawk/myst.cpp')
-rw-r--r--engines/mohawk/myst.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mohawk/myst.cpp b/engines/mohawk/myst.cpp
index 275f3bf3f3..21774e7967 100644
--- a/engines/mohawk/myst.cpp
+++ b/engines/mohawk/myst.cpp
@@ -285,7 +285,7 @@ Common::Error MohawkEngine_Myst::run() {
while (!shouldQuit()) {
// Update any background videos
_needsUpdate = _video->updateBackgroundMovies();
- _scriptParser->runPersistentOpcodes();
+ _scriptParser->runPersistentScripts();
// Run animations...
for (uint16 i = 0; i < _resources.size(); i++)
@@ -419,7 +419,7 @@ void MohawkEngine_Myst::drawCardBackground() {
void MohawkEngine_Myst::changeToCard(uint16 card, bool updateScreen) {
debug(2, "changeToCard(%d)", card);
- _scriptParser->disableInitOpcodes();
+ _scriptParser->disablePersistentScripts();
_video->stopVideos();