summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/being/being.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 1ca4cb700..838892119 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -3434,6 +3434,7 @@ void Being::setMap(Map *const map)
{
mOffsetY = mMap->getHeightOffset(mX, mY);
mFixedOffsetY = mOffsetY;
+ mOldHeight = 0;
mNeedPosUpdate = true;
}
}