diff options
Diffstat (limited to 'engines/dm/console.cpp')
-rw-r--r-- | engines/dm/console.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/dm/console.cpp b/engines/dm/console.cpp index b931733b54..77da72a632 100644 --- a/engines/dm/console.cpp +++ b/engines/dm/console.cpp @@ -143,7 +143,7 @@ bool Console::Cmd_pos(int argc, const char** argv) { if (haventWarned.check()) debugPrintf("Setting position directly can cause glitches and crashes.\n"); debugPrintf("Position set to (%d, %d)\n", x, y); - _vm->_moveSens->f267_getMoveResult(Thing::_party, _vm->_dungeonMan->_partyMapX, _vm->_dungeonMan->_partyMapY, + _vm->_moveSens->getMoveResult(Thing::_party, _vm->_dungeonMan->_partyMapX, _vm->_dungeonMan->_partyMapY, x - currMap._offsetMapX, y - currMap._offsetMapY); } else goto argumentError; @@ -177,7 +177,7 @@ bool Console::Cmd_map(int argc, const char** argv) { debugPrintf("Setting map directly can cause glitches and crashes.\n"); debugPrintf("Map set to %d\n", index); - _vm->_moveSens->f267_getMoveResult(Thing::_party, _vm->_dungeonMan->_partyMapX, _vm->_dungeonMan->_partyMapY, kM1_MapXNotOnASquare, 0); + _vm->_moveSens->getMoveResult(Thing::_party, _vm->_dungeonMan->_partyMapX, _vm->_dungeonMan->_partyMapY, kM1_MapXNotOnASquare, 0); _vm->_newPartyMapIndex = _vm->_dungeonMan->getLocationAfterLevelChange( _vm->_dungeonMan->_partyMapIndex, index - _vm->_dungeonMan->_partyMapIndex, &_vm->_dungeonMan->_partyMapX, &_vm->_dungeonMan->_partyMapY); |