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/ea/itemhandler.cpp | |
parent | 146e9182d8c930e62fbcc281615b96c95319a5ea (diff) | |
download | mv-5c30a24b51538c8a0656977caeeced94277aa5b8.tar.gz mv-5c30a24b51538c8a0656977caeeced94277aa5b8.tar.bz2 mv-5c30a24b51538c8a0656977caeeced94277aa5b8.tar.xz mv-5c30a24b51538c8a0656977caeeced94277aa5b8.zip |
Add option to items.xml to set max floor item pixel offset.
Diffstat (limited to 'src/net/ea/itemhandler.cpp')
-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) { |