aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/riven.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mohawk/riven.cpp')
-rw-r--r--engines/mohawk/riven.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/engines/mohawk/riven.cpp b/engines/mohawk/riven.cpp
index fcc0f0b752..2a651cf0de 100644
--- a/engines/mohawk/riven.cpp
+++ b/engines/mohawk/riven.cpp
@@ -194,8 +194,6 @@ void MohawkEngine_Riven::doFrame() {
// Update background running things
checkTimer();
_sound->updateSLST();
- _gfx->runFliesEffect();
- _gfx->runScheduledWaterEffects();
_video->updateMovies();
Common::Event event;
@@ -270,7 +268,7 @@ void MohawkEngine_Riven::doFrame() {
}
}
- _card->onMouseUpdate();
+ _stack->onFrame();
if (!_scriptMan->runningQueuedScripts()) {
// Don't run queued scripts if we are calling from a queued script
@@ -436,8 +434,7 @@ void MohawkEngine_Riven::delayAndUpdate(uint32 ms) {
while (_system->getMillis() < startTime + ms && !shouldQuit()) {
_sound->updateSLST();
- _gfx->runFliesEffect();
- _gfx->runScheduledWaterEffects();
+ _stack->onFrame();
_video->updateMovies();
Common::Event event;