diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-14 02:29:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-14 02:29:16 +0300 |
commit | 6db83b4ee1c20162a9dd31428cbc36ce7405352d (patch) | |
tree | 502c13b828500568dbc842469ae44522a1b2ca2c /src/resources/iteminfo.cpp | |
parent | 4e3b36697e96e30008aea877a625d1be1e920073 (diff) | |
download | plus-6db83b4ee1c20162a9dd31428cbc36ce7405352d.tar.gz plus-6db83b4ee1c20162a9dd31428cbc36ce7405352d.tar.bz2 plus-6db83b4ee1c20162a9dd31428cbc36ce7405352d.tar.xz plus-6db83b4ee1c20162a9dd31428cbc36ce7405352d.zip |
Dont check and modify floor item position if server support haveExtendedDropsPosition.
Also add for legacy servers support for maxFloorOffsetX/Y.
Diffstat (limited to 'src/resources/iteminfo.cpp')
-rw-r--r-- | src/resources/iteminfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/iteminfo.cpp b/src/resources/iteminfo.cpp index 9fd4f2ba2..133242567 100644 --- a/src/resources/iteminfo.cpp +++ b/src/resources/iteminfo.cpp @@ -68,7 +68,8 @@ ItemInfo::ItemInfo() : mHitEffectId(-1), mCriticalHitEffectId(-1), mMissEffectId(-1), - maxFloorOffset(mapTileSize), + maxFloorOffsetX(mapTileSize), + maxFloorOffsetY(mapTileSize), mPickupCursor(Cursor::CURSOR_POINTER), mPet(0), mProtected(false) |