diff options
author | Bastien Bouclet | 2010-11-29 21:00:05 +0000 |
---|---|---|
committer | Bastien Bouclet | 2010-11-29 21:00:05 +0000 |
commit | 149eed5c3296175d122cc7f44db75fe352fae004 (patch) | |
tree | fe5f628faf18476f2f8d0beae877ab213b389856 /engines/mohawk/myst.cpp | |
parent | bfd272a46ebae1198a489d113d0f50b9418ac202 (diff) | |
download | scummvm-rg350-149eed5c3296175d122cc7f44db75fe352fae004.tar.gz scummvm-rg350-149eed5c3296175d122cc7f44db75fe352fae004.tar.bz2 scummvm-rg350-149eed5c3296175d122cc7f44db75fe352fae004.zip |
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
Diffstat (limited to 'engines/mohawk/myst.cpp')
-rw-r--r-- | engines/mohawk/myst.cpp | 4 |
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(); |