diff options
author | Gregory Montoir | 2003-12-30 10:46:05 +0000 |
---|---|---|
committer | Gregory Montoir | 2003-12-30 10:46:05 +0000 |
commit | d91b30c9336abc3640551855056635092f2f322f (patch) | |
tree | 70e8b453fdcb458d1e013029a33d1e42bb29ef02 /queen/debug.cpp | |
parent | 195fcb0f465f92ea40f6fd4145e04c23622fb119 (diff) | |
download | scummvm-rg350-d91b30c9336abc3640551855056635092f2f322f.tar.gz scummvm-rg350-d91b30c9336abc3640551855056635092f2f322f.tar.bz2 scummvm-rg350-d91b30c9336abc3640551855056635092f2f322f.zip |
minor cleanup & add playSong() calls in Logic::handlePinnacleRoom
svn-id: r12031
Diffstat (limited to 'queen/debug.cpp')
-rw-r--r-- | queen/debug.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/queen/debug.cpp b/queen/debug.cpp index 96c5b7752a..6ca038b59b 100644 --- a/queen/debug.cpp +++ b/queen/debug.cpp @@ -155,8 +155,7 @@ bool Debugger::Cmd_Items(int argc, const char **argv) { bool Debugger::Cmd_Room(int argc, const char **argv) { if (argc == 2) { uint16 roomNum = atoi(argv[1]); - _vm->logic()->joeX(0); - _vm->logic()->joeY(0); + _vm->logic()->joePos(0, 0); _vm->logic()->newRoom(roomNum); _vm->logic()->entryObj(_vm->logic()->roomData(roomNum) + 1); DebugPrintf("Changing from room %d to %d\n", _vm->logic()->currentRoom(), roomNum); |