aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2003-09-08 20:46:25 +0000
committerMax Horn2003-09-08 20:46:25 +0000
commit26a1040886b711791765073ecd87f527eb662a2b (patch)
tree8081a05d70d0505d6d81b3f7b3fcbb64c61cadf3
parentbc8fd13172bfd4dffa4b4e8df98dc04b6be9b478 (diff)
downloadscummvm-rg350-26a1040886b711791765073ecd87f527eb662a2b.tar.gz
scummvm-rg350-26a1040886b711791765073ecd87f527eb662a2b.tar.bz2
scummvm-rg350-26a1040886b711791765073ecd87f527eb662a2b.zip
turns out that in the GFX usage bit conversion process, we accidentally left out this code. This should fix bug #744794 and potentially others
svn-id: r10109
-rw-r--r--scumm/actor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp
index a8da519408..50b778a49d 100644
--- a/scumm/actor.cpp
+++ b/scumm/actor.cpp
@@ -1574,6 +1574,7 @@ void Scumm::resetActorBgs() {
for (i = 0; i < gdi._numStrips; i++) {
int strip = _screenStartStrip + i;
+ clearGfxUsageBit(strip, USAGE_BIT_DIRTY);
for (j = 1; j < _numActors; j++) {
if (testGfxUsageBit(strip, j) &&
((_actors[j].top != 0xFF || _actors[j].needRedraw) || _actors[j].needBgReset)) {