aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirben2016-05-24 20:19:18 +1000
committerKirben2016-05-24 20:19:18 +1000
commitbba1af422fa6841981ab2d2dedf26613e28db207 (patch)
tree97520013aedc5dd9438983188aa403a18a42c19a
parented5adcbc59bc6a99837c0537f8461b38717728d8 (diff)
downloadscummvm-rg350-bba1af422fa6841981ab2d2dedf26613e28db207.tar.gz
scummvm-rg350-bba1af422fa6841981ab2d2dedf26613e28db207.tar.bz2
scummvm-rg350-bba1af422fa6841981ab2d2dedf26613e28db207.zip
SCUMM: Fix bug #3230 PAJAMA SAM 2: Background gfx glitch in intro.
-rw-r--r--engines/scumm/actor.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/scumm/actor.cpp b/engines/scumm/actor.cpp
index 3a69b5f03c..cd54c175cc 100644
--- a/engines/scumm/actor.cpp
+++ b/engines/scumm/actor.cpp
@@ -2479,6 +2479,13 @@ void ScummEngine::setActorRedrawFlags() {
_actors[j]->_needRedraw = true;
}
} else {
+ if (_game.heversion >= 72) {
+ for (j = 1; j < _numActors; j++) {
+ if (_actors[j]->_costume && _actors[j]->_heXmapNum)
+ _actors[j]->_needRedraw = true;
+ }
+ }
+
for (i = 0; i < _gdi->_numStrips; i++) {
int strip = _screenStartStrip + i;
if (testGfxAnyUsageBits(strip)) {