diff options
Diffstat (limited to 'scumm/debug.cpp')
-rw-r--r-- | scumm/debug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/debug.cpp b/scumm/debug.cpp index 4581c2ab1b..f6acd63227 100644 --- a/scumm/debug.cpp +++ b/scumm/debug.cpp @@ -343,7 +343,7 @@ void ScummDebugger::printActors(int act) printf("+--------------------------------------------------------------------+\n"); printf("|# |room| x | y |elev|cos|width|box|mov| zp|frame|scale|spd|dir|cls|\n"); printf("+--+----+----+----+----+---+-----+---+---+---+-----+-----+---+---+---+\n"); - for (i = 1; i < _s->NUM_ACTORS; i++) { + for (i = 1; i < _s->_numActors; i++) { if (act == -1 || act == i) { a = &_s->_actors[i]; if (a->visible) |