diff options
author | Gregory Montoir | 2006-12-21 15:09:13 +0000 |
---|---|---|
committer | Gregory Montoir | 2006-12-21 15:09:13 +0000 |
commit | cfd4ffb321112a311eb800077c4483d76a6d63d6 (patch) | |
tree | 0cd1c91a13753317c8ede391b95a065b0b0e72de /engines/scumm/debugger.cpp | |
parent | e6f95af215f226280ff7dca27c52181e604ce09a (diff) | |
download | scummvm-rg350-cfd4ffb321112a311eb800077c4483d76a6d63d6.tar.gz scummvm-rg350-cfd4ffb321112a311eb800077c4483d76a6d63d6.tar.bz2 scummvm-rg350-cfd4ffb321112a311eb800077c4483d76a6d63d6.zip |
fixed bug #1620023 (script calls putActorAtXY with y == -1)
svn-id: r24910
Diffstat (limited to 'engines/scumm/debugger.cpp')
-rw-r--r-- | engines/scumm/debugger.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/debugger.cpp b/engines/scumm/debugger.cpp index bad2478c69..b55817ab98 100644 --- a/engines/scumm/debugger.cpp +++ b/engines/scumm/debugger.cpp @@ -383,11 +383,11 @@ bool ScummDebugger::Cmd_Actor(int argc, const char **argv) { a->_ignoreBoxes = (value > 0); DebugPrintf("Actor[%d].ignoreBoxes = %d\n", actnum, a->_ignoreBoxes); } else if (!strcmp(argv[2], "x")) { - a->putActor(value, -1, -1); + a->putActor(value, a->getPos().y, a->_room); DebugPrintf("Actor[%d].x = %d\n", actnum, a->getPos().x); _vm->_fullRedraw = true; } else if (!strcmp(argv[2], "y")) { - a->putActor(-1, value, -1); + a->putActor(a->getPos().x, value, a->_room); DebugPrintf("Actor[%d].y = %d\n", actnum, a->getPos().y); _vm->_fullRedraw = true; } else if (!strcmp(argv[2], "_elevation")) { |