diff options
author | Bastien Bouclet | 2017-02-19 09:36:38 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2017-07-03 08:50:10 +0200 |
commit | 1aa42338025543814ac0dbf41ed62c03ccf01ba8 (patch) | |
tree | 1f03b0d35055024bd169992915e7a38852301396 /engines/mohawk/riven.cpp | |
parent | ad7f94f10f5893ed2ee14f9fc7b48d8ebbce49de (diff) | |
download | scummvm-rg350-1aa42338025543814ac0dbf41ed62c03ccf01ba8.tar.gz scummvm-rg350-1aa42338025543814ac0dbf41ed62c03ccf01ba8.tar.bz2 scummvm-rg350-1aa42338025543814ac0dbf41ed62c03ccf01ba8.zip |
MOHAWK: Rework stack frame updates to work like the original
Diffstat (limited to 'engines/mohawk/riven.cpp')
-rw-r--r-- | engines/mohawk/riven.cpp | 7 |
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; |