diff options
author | Paweł Kołodziejski | 2002-10-24 06:28:54 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2002-10-24 06:28:54 +0000 |
commit | a125d1cc1a03a43b692391a34fb9a2dee36991a3 (patch) | |
tree | b444b33ee26c5f6eaa3a5697e9e48977d4e86a34 /scumm/actor.cpp | |
parent | fe7343deccef267fe699edb637eb032aec2ecc64 (diff) | |
download | scummvm-rg350-a125d1cc1a03a43b692391a34fb9a2dee36991a3.tar.gz scummvm-rg350-a125d1cc1a03a43b692391a34fb9a2dee36991a3.tar.bz2 scummvm-rg350-a125d1cc1a03a43b692391a34fb9a2dee36991a3.zip |
changed number strips to dynamic and increased arrays tdirty and bdirty to 80
svn-id: r5296
Diffstat (limited to 'scumm/actor.cpp')
-rw-r--r-- | scumm/actor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp index 4412f2ea9e..7188b25c18 100644 --- a/scumm/actor.cpp +++ b/scumm/actor.cpp @@ -1038,7 +1038,7 @@ void Scumm::setActorRedrawFlags(bool fg, bool bg) a->needBgReset = true; } } else { - for (i = 0; i < 40; i++) { + for (i = 0; i < gdi._numStrips; i++) { bits = gfxUsageBits[_screenStartStrip + i]; if (bits & 0x3FFFFFFF) { for (j = 0; j < NUM_ACTORS; j++) { @@ -1463,7 +1463,7 @@ void Scumm::resetActorBgs() int i; uint32 onlyActorFlags, bitpos; - for (i = 0; i < 40; i++) { + for (i = 0; i < gdi._numStrips; i++) { onlyActorFlags = (gfxUsageBits[_screenStartStrip + i] &= 0x3FFFFFFF); a = getFirstActor(); bitpos = 1; |