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.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/engines/mohawk/myst.cpp b/engines/mohawk/myst.cpp
index 026cd18fa1..f0c63f90f7 100644
--- a/engines/mohawk/myst.cpp
+++ b/engines/mohawk/myst.cpp
@@ -304,10 +304,6 @@ Common::Error MohawkEngine_Myst::run() {
_needsUpdate = _video->updateBackgroundMovies();
_scriptParser->runPersistentScripts();
- // Run animations...
- for (uint16 i = 0; i < _resources.size(); i++)
- _resources[i]->handleAnimation();
-
while (_eventMan->pollEvent(event)) {
switch (event.type) {
case Common::EVENT_MOUSEMOVE:
@@ -550,6 +546,9 @@ void MohawkEngine_Myst::changeToCard(uint16 card, bool updateScreen) {
// Update the images of each area too
drawResourceImages();
+ for (uint16 i = 0; i < _resources.size(); i++)
+ _resources[i]->handleCardChange();
+
// TODO: Handle Script Resources
// Make sure we have the right cursor showing