aboutsummaryrefslogtreecommitdiff
path: root/debug.cpp
diff options
context:
space:
mode:
authorJames Brown2002-03-09 00:56:22 +0000
committerJames Brown2002-03-09 00:56:22 +0000
commit72518be8f1a03d73b12944a4e15350c4d8cb0888 (patch)
treee7a6b076a75a34575f94fc4e489452a47f4f0a69 /debug.cpp
parentf35c801db44093faec0b430a7727fa1e2510f26d (diff)
downloadscummvm-rg350-72518be8f1a03d73b12944a4e15350c4d8cb0888.tar.gz
scummvm-rg350-72518be8f1a03d73b12944a4e15350c4d8cb0888.tar.bz2
scummvm-rg350-72518be8f1a03d73b12944a4e15350c4d8cb0888.zip
Fixed NUM_aCTORS for MI2/Indy4, etc.
Probably broke some saved games again. svn-id: r3700
Diffstat (limited to 'debug.cpp')
-rw-r--r--debug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug.cpp b/debug.cpp
index 91bdf24f4d..7a0b720e0f 100644
--- a/debug.cpp
+++ b/debug.cpp
@@ -270,7 +270,7 @@ void ScummDebugger::printActors(int act) {
printf("+--------------------------------------------------------------+\n");
printf("|# |room| x y |elev|cos|width|box|mov|zp|frame|scale|spd|dir|\n");
printf("+--+----+--------+----+---+-----+---+---+--+-----+-----+---+---+\n");
- for(i=1; i<NUM_ACTORS; i++) {
+ for(i=1; i<_s->NUM_ACTORS; i++) {
if (act==-1 || act==i) {
a = &_s->actor[i];
if (a->visible)