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/debugger.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/debugger.cpp')
-rw-r--r-- | scumm/debugger.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/debugger.cpp b/scumm/debugger.cpp index a9a7d6e881..29470bd4e1 100644 --- a/scumm/debugger.cpp +++ b/scumm/debugger.cpp @@ -515,8 +515,8 @@ bool ScummDebugger::Cmd_Actor(int argc, const char **argv) { } actnum = atoi(argv[1]); - if (actnum >= _s->NUM_ACTORS) { - Debug_Printf("Actor %d is out of range (range: 1 - %d)\n", actnum, _s->NUM_ACTORS); + if (actnum >= _s->_numActors) { + Debug_Printf("Actor %d is out of range (range: 1 - %d)\n", actnum, _s->_numActors); return true; } @@ -547,7 +547,7 @@ bool ScummDebugger::Cmd_PrintActor(int argc, const char **argv) { Debug_Printf("+--------------------------------------------------------------------+\n"); Debug_Printf("|# |room| x | y |elev|cos|width|box|mov| zp|frame|scale|spd|dir|cls|\n"); Debug_Printf("+--+----+----+----+----+---+-----+---+---+---+-----+-----+---+---+---+\n"); - for (i = 1; i < _s->NUM_ACTORS; i++) { + for (i = 1; i < _s->_numActors; i++) { a = &_s->_actors[i]; if (a->visible) Debug_Printf("|%2d|%4d|%4d|%4d|%4d|%3d|%5d|%3d|%3d|%3d|%5d|%5d|%3d|%3d|$%02x|\n", |