diff options
author | Max Horn | 2003-09-08 21:04:17 +0000 |
---|---|---|
committer | Max Horn | 2003-09-08 21:04:17 +0000 |
commit | 31db86cdb1f3c96b9c5dc91904baef174f4ea5aa (patch) | |
tree | e7e481df111186f2a0e9babe26d30e18ad03b7d7 | |
parent | 738470b02e16b69ffb0ce938bbc09a5e29f0305c (diff) | |
download | scummvm-rg350-31db86cdb1f3c96b9c5dc91904baef174f4ea5aa.tar.gz scummvm-rg350-31db86cdb1f3c96b9c5dc91904baef174f4ea5aa.tar.bz2 scummvm-rg350-31db86cdb1f3c96b9c5dc91904baef174f4ea5aa.zip |
fixed yet another bug in redraw logic (which was hidden so far and revealed by my previous fix)
svn-id: r10112
-rw-r--r-- | scumm/actor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp index df2ce8d7da..a77f883919 100644 --- a/scumm/actor.cpp +++ b/scumm/actor.cpp @@ -1118,7 +1118,7 @@ void Scumm::resetActorBgs() { clearGfxUsageBit(strip, USAGE_BIT_RESTORED); for (j = 1; j < _numActors; j++) { if (testGfxUsageBit(strip, j) && - ((_actors[j].top != 0xFF || _actors[j].needRedraw) || _actors[j].needBgReset)) { + ((_actors[j].top != 0xFF && _actors[j].needRedraw) || _actors[j].needBgReset)) { clearGfxUsageBit(strip, j); if ((_actors[j].bottom - _actors[j].top) >= 0) gdi.resetBackground(_actors[j].top, _actors[j].bottom, i); |