diff options
author | Kirben | 2016-05-24 20:19:18 +1000 |
---|---|---|
committer | Kirben | 2016-05-24 20:19:18 +1000 |
commit | bba1af422fa6841981ab2d2dedf26613e28db207 (patch) | |
tree | 97520013aedc5dd9438983188aa403a18a42c19a | |
parent | ed5adcbc59bc6a99837c0537f8461b38717728d8 (diff) | |
download | scummvm-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.cpp | 7 |
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)) { |