NUM_ACTORS -> _numActors (for consistency)
svn-id: r7489
This commit is contained in:
parent
0ee0e7f634
commit
08f7ec192e
14 changed files with 48 additions and 48 deletions
|
@ -989,7 +989,7 @@ void Scumm_v6::o6_walkActorToObj() {
|
|||
if (!a)
|
||||
return;
|
||||
|
||||
if (obj >= NUM_ACTORS) {
|
||||
if (obj >= _numActors) {
|
||||
if (whereIsObject(obj) == WIO_NOT_FOUND)
|
||||
return;
|
||||
int y, dir;
|
||||
|
@ -1296,7 +1296,7 @@ void Scumm_v6::o6_setObjectName() {
|
|||
int obj = pop();
|
||||
int i;
|
||||
|
||||
if (obj < NUM_ACTORS)
|
||||
if (obj < _numActors)
|
||||
error("Can't set actor %d name with new-name-of", obj);
|
||||
|
||||
if (!(_features & GF_AFTER_V7) && !getOBCDFromObject(obj))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue