diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/dm/movesens.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/dm/movesens.cpp b/engines/dm/movesens.cpp index 0bc77d51c1..326affc907 100644 --- a/engines/dm/movesens.cpp +++ b/engines/dm/movesens.cpp @@ -354,7 +354,7 @@ bool MovesensMan::getMoveResult(Thing thing, int16 mapX, int16 mapY, int16 destM direction = _vm->_dungeonMan->getStairsExitDirection(destMapX, destMapY); destMapX += _vm->_dirIntoStepCountEast[direction], destMapY += _vm->_dirIntoStepCountNorth[direction]; direction = _vm->returnOppositeDir((Direction)direction); - uint16 thingCell = thing.getCell(); + thingCell = thing.getCell(); thingCell = _vm->normalizeModulo4((((thingCell - direction + 1) & 0x0002) >> 1) + direction); thing = _vm->thingWithNewCell(thing, thingCell); } else |