aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Bouclet2016-04-03 13:33:21 +0200
committerBastien Bouclet2016-04-17 11:55:49 +0200
commit76e2867c07e2fa80bd98f456984e519a579167da (patch)
treea3f6418ed37c8d7b0abd9dcf15a87b3c829a7000
parenta9ebd7a1229a1137a83a33b71d656a3f7dd44650 (diff)
downloadscummvm-rg350-76e2867c07e2fa80bd98f456984e519a579167da.tar.gz
scummvm-rg350-76e2867c07e2fa80bd98f456984e519a579167da.tar.bz2
scummvm-rg350-76e2867c07e2fa80bd98f456984e519a579167da.zip
MOHAWK: Update the screen immediatly when changing stacks
This fixes the linking sound being played before the new age is displayed. Thanks to rootfather for noticing.
-rw-r--r--engines/mohawk/myst.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/mohawk/myst.cpp b/engines/mohawk/myst.cpp
index e2bc88ebf6..633b67f7e9 100644
--- a/engines/mohawk/myst.cpp
+++ b/engines/mohawk/myst.cpp
@@ -604,7 +604,8 @@ void MohawkEngine_Myst::changeToCard(uint16 card, TransitionType transition) {
_gfx->runTransition(transition, Common::Rect(544, 333), 10, 0);
} else {
_gfx->copyBackBufferToScreen(Common::Rect(544, 333));
- _needsUpdate = true;
+ _system->updateScreen();
+ _needsUpdate = false;
}
}