diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-07-04 22:15:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-07-04 22:15:48 +0300 |
commit | 5c30a24b51538c8a0656977caeeced94277aa5b8 (patch) | |
tree | 574a680074cf5f69522b79ef48430d57b8be0787 /src/net | |
parent | 146e9182d8c930e62fbcc281615b96c95319a5ea (diff) | |
download | manaplus-5c30a24b51538c8a0656977caeeced94277aa5b8.tar.gz manaplus-5c30a24b51538c8a0656977caeeced94277aa5b8.tar.bz2 manaplus-5c30a24b51538c8a0656977caeeced94277aa5b8.tar.xz manaplus-5c30a24b51538c8a0656977caeeced94277aa5b8.zip |
Add option to items.xml to set max floor item pixel offset.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/ea/itemhandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ea/itemhandler.cpp b/src/net/ea/itemhandler.cpp index 7a6ee2743..2d2566409 100644 --- a/src/net/ea/itemhandler.cpp +++ b/src/net/ea/itemhandler.cpp @@ -43,8 +43,8 @@ void ItemHandler::processItemVisible(Net::MessageIn &msg) int x = msg.readInt16(); int y = msg.readInt16(); int amount = msg.readInt16(); - int subX = msg.readInt8() + 16 - 8; - int subY = msg.readInt8() + 32 - 8; + int subX = msg.readInt8(); + int subY = msg.readInt8(); if (actorSpriteManager) { |