diff options
author | Max Horn | 2003-05-13 23:42:41 +0000 |
---|---|---|
committer | Max Horn | 2003-05-13 23:42:41 +0000 |
commit | 08f7ec192ea6694e2fc0ab0efb6bec5ef5a4b5d2 (patch) | |
tree | 07bcc328f550214473dc89f93310370be672d1e8 /scumm/script_v6.cpp | |
parent | 0ee0e7f6347def3b9b32f62f37584a3a19131913 (diff) | |
download | scummvm-rg350-08f7ec192ea6694e2fc0ab0efb6bec5ef5a4b5d2.tar.gz scummvm-rg350-08f7ec192ea6694e2fc0ab0efb6bec5ef5a4b5d2.tar.bz2 scummvm-rg350-08f7ec192ea6694e2fc0ab0efb6bec5ef5a4b5d2.zip |
NUM_ACTORS -> _numActors (for consistency)
svn-id: r7489
Diffstat (limited to 'scumm/script_v6.cpp')
-rw-r--r-- | scumm/script_v6.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index a42293c03f..d25454e212 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -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)) |