From 487391edef421fb86e7ad853572eb1606d7776c7 Mon Sep 17 00:00:00 2001 From: Gregory Montoir Date: Thu, 21 Dec 2006 15:18:26 +0000 Subject: passing the room as an argument to putActor is optionnal here svn-id: r24911 --- engines/scumm/debugger.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/scumm/debugger.cpp') 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")) { -- cgit v1.2.3