summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
Diffstat (limited to 'src/being')
-rw-r--r--src/being/being.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 14610d526..b8f4ce414 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -3756,9 +3756,9 @@ void Being::setTileCoords(const int x, const int y)
mY = y;
if (mMap)
{
- mOffsetY = mMap->getHeightOffset(mX, mY);
+ mOffsetY = 0;
mFixedOffsetY = mOffsetY;
- mOldHeight = 0;
+ mOldHeight = mMap->getHeightOffset(mX, mY);
mNeedPosUpdate = true;
}
}