fixed hardcoded number -> constant stuff (patches by janssen)
svn-id: r3483
This commit is contained in:
parent
406b5e63c7
commit
595d9534c3
9 changed files with 64 additions and 54 deletions
4
gfx.cpp
4
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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue