From 149eed5c3296175d122cc7f44db75fe352fae004 Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Mon, 29 Nov 2010 21:00:05 +0000 Subject: MOHAWK: Persistent scripts cleanup - Rename InitOpcodes / PersistentOpcodes to Persistent Scripts for consistency - Get rid of the global var used to tell if the sound receiver script is running svn-id: r54633 --- engines/mohawk/myst.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/mohawk/myst.cpp') 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(); -- cgit v1.2.3