diff options
author | Max Horn | 2007-02-04 01:52:50 +0000 |
---|---|---|
committer | Max Horn | 2007-02-04 01:52:50 +0000 |
commit | 53432b2bbe53b7c998af4acaf7920f2a90946195 (patch) | |
tree | 387290a88158eff1e9087c6f8c4cc45ef06880cc /engines/scumm | |
parent | be052be462c6d6b9f47b57b1169cc5e1e306d65f (diff) | |
download | scummvm-rg350-53432b2bbe53b7c998af4acaf7920f2a90946195.tar.gz scummvm-rg350-53432b2bbe53b7c998af4acaf7920f2a90946195.tar.bz2 scummvm-rg350-53432b2bbe53b7c998af4acaf7920f2a90946195.zip |
Use Actor::getRealPos instead of Actor::getPos in the debugger
svn-id: r25371
Diffstat (limited to 'engines/scumm')
-rw-r--r-- | engines/scumm/debugger.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/scumm/debugger.cpp b/engines/scumm/debugger.cpp index 2d5b8a5dfa..c8d0276693 100644 --- a/engines/scumm/debugger.cpp +++ b/engines/scumm/debugger.cpp @@ -384,11 +384,11 @@ bool ScummDebugger::Cmd_Actor(int argc, const char **argv) { DebugPrintf("Actor[%d].ignoreBoxes = %d\n", actnum, a->_ignoreBoxes); } else if (!strcmp(argv[2], "x")) { a->putActor(value, a->getRealPos().y); - DebugPrintf("Actor[%d].x = %d\n", actnum, a->getPos().x); + DebugPrintf("Actor[%d].x = %d\n", actnum, a->getRealPos().x); _vm->_fullRedraw = true; } else if (!strcmp(argv[2], "y")) { a->putActor(a->getRealPos().x, value); - DebugPrintf("Actor[%d].y = %d\n", actnum, a->getPos().y); + DebugPrintf("Actor[%d].y = %d\n", actnum, a->getRealPos().y); _vm->_fullRedraw = true; } else if (!strcmp(argv[2], "_elevation")) { a->setElevation(value); @@ -427,7 +427,7 @@ bool ScummDebugger::Cmd_PrintActor(int argc, const char **argv) { a = _vm->_actors[i]; if (a->_visible) DebugPrintf("|%2d|%4d|%4d|%3d|%4d|%3d|%3d|%3d|%3d|%3d|%3d|%3d|$%08x|\n", - a->_number, a->getPos().x, a->getPos().y, a->_width, a->getElevation(), + a->_number, a->getRealPos().x, a->getRealPos().y, a->_width, a->getElevation(), a->_costume, a->_walkbox, a->_moving, a->_forceClip, a->_frame, a->_scalex, a->getFacing(), _vm->_classData[a->_number]); } |