diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-16 01:12:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-16 01:12:24 +0300 |
commit | 1781049dee0da16fdd7148f36a699523cd08ecaf (patch) | |
tree | 30cbaf5d6887c88ad06404530b5b86c67197586f /src/being | |
parent | 605205eaba29773d9b6c67d5920bf6964366f37e (diff) | |
download | manaplus-1781049dee0da16fdd7148f36a699523cd08ecaf.tar.gz manaplus-1781049dee0da16fdd7148f36a699523cd08ecaf.tar.bz2 manaplus-1781049dee0da16fdd7148f36a699523cd08ecaf.tar.xz manaplus-1781049dee0da16fdd7148f36a699523cd08ecaf.zip |
Fix player position based on height after warp to new map.
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/being.cpp | 1 |
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; } } |