aboutsummaryrefslogtreecommitdiff
path: root/debug.cpp
diff options
context:
space:
mode:
authorLudvig Strigeus2001-11-10 19:12:32 +0000
committerLudvig Strigeus2001-11-10 19:12:32 +0000
commit595d9534c3ebd2e8f6615481c05ff90818a1c3f9 (patch)
tree6c0b25c9c445be18278452196989c731ad079e19 /debug.cpp
parent406b5e63c76d2c602273350f1a8bb3129730c181 (diff)
downloadscummvm-rg350-595d9534c3ebd2e8f6615481c05ff90818a1c3f9.tar.gz
scummvm-rg350-595d9534c3ebd2e8f6615481c05ff90818a1c3f9.tar.bz2
scummvm-rg350-595d9534c3ebd2e8f6615481c05ff90818a1c3f9.zip
fixed hardcoded number -> constant stuff (patches by janssen)
svn-id: r3483
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 a5688ba6a8..ed04faf699 100644
--- a/debug.cpp
+++ b/debug.cpp
@@ -165,7 +165,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<13; i++) {
+ for(i=1; i<NUM_ACTORS; i++) {
if (act==-1 || act==i) {
a = &_s->actor[i];
if (a->visible)