aboutsummaryrefslogtreecommitdiff
path: root/gfx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gfx.cpp')
-rw-r--r--gfx.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gfx.cpp b/gfx.cpp
index cb93b96fdc..77a184c74e 100644
--- a/gfx.cpp
+++ b/gfx.cpp
@@ -295,7 +295,7 @@ void Scumm::setCameraFollows(Actor *a) {
t-_screenStartStrip > cd->_rightTrigger)
setCameraAt(a->x);
- for (i=1,a=getFirstActor(); ++a,i<13; i++) {
+ for (i=1,a=getFirstActor(); ++a,i<NUM_ACTORS; i++) {
if (a->room==_currentRoom)
a->needRedraw = true;
}
@@ -1632,7 +1632,7 @@ void Scumm::resetActorBgs() {
}
}
- for(i=1,a=getFirstActor(); ++a,i<13; i++) {
+ for(i=1,a=getFirstActor(); ++a,i<NUM_ACTORS; i++) {
a->needBgReset = false;
}
}