diff options
author | Gregory Montoir | 2006-12-21 15:18:26 +0000 |
---|---|---|
committer | Gregory Montoir | 2006-12-21 15:18:26 +0000 |
commit | 487391edef421fb86e7ad853572eb1606d7776c7 (patch) | |
tree | 88c38492f231b542316bc5888acfd2cda570ab9e /engines/scumm/debugger.cpp | |
parent | cfd4ffb321112a311eb800077c4483d76a6d63d6 (diff) | |
download | scummvm-rg350-487391edef421fb86e7ad853572eb1606d7776c7.tar.gz scummvm-rg350-487391edef421fb86e7ad853572eb1606d7776c7.tar.bz2 scummvm-rg350-487391edef421fb86e7ad853572eb1606d7776c7.zip |
passing the room as an argument to putActor is optionnal here
svn-id: r24911
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 b55817ab98..6ca16821e4 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, a->getPos().y, a->_room); + a->putActor(value, a->getPos().y); DebugPrintf("Actor[%d].x = %d\n", actnum, a->getPos().x); _vm->_fullRedraw = true; } else if (!strcmp(argv[2], "y")) { - a->putActor(a->getPos().x, value, a->_room); + a->putActor(a->getPos().x, value); DebugPrintf("Actor[%d].y = %d\n", actnum, a->getPos().y); _vm->_fullRedraw = true; } else if (!strcmp(argv[2], "_elevation")) { |