aboutsummaryrefslogtreecommitdiff
path: root/gfx.cpp
diff options
context:
space:
mode:
authorJames Brown2002-04-26 11:01:47 +0000
committerJames Brown2002-04-26 11:01:47 +0000
commit8a8c776b470f10e5fa31b6432f6062cf1d1dbe4a (patch)
tree43370f102cbddf4f0e693da30ca5b7c6b4239773 /gfx.cpp
parentff186267b1c3cfad505afe58f34d4e0bdced61b8 (diff)
downloadscummvm-rg350-8a8c776b470f10e5fa31b6432f6062cf1d1dbe4a.tar.gz
scummvm-rg350-8a8c776b470f10e5fa31b6432f6062cf1d1dbe4a.tar.bz2
scummvm-rg350-8a8c776b470f10e5fa31b6432f6062cf1d1dbe4a.zip
Fix screen corruption after shaking.
svn-id: r4083
Diffstat (limited to 'gfx.cpp')
-rw-r--r--gfx.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gfx.cpp b/gfx.cpp
index 0a251a5c2f..9df61625a8 100644
--- a/gfx.cpp
+++ b/gfx.cpp
@@ -1825,6 +1825,9 @@ void Scumm::unkScreenEffect5(int a)
void Scumm::setShake(int mode)
{
+ if (_shakeEnabled != (mode != 0))
+ _fullRedraw = true;
+
_shakeEnabled = mode != 0;
_shakeFrame = 0;
_system->set_shake_pos(0);