summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-07-04 22:15:48 +0300
committerAndrei Karas <akaras@inbox.ru>2012-07-04 22:15:48 +0300
commit5c30a24b51538c8a0656977caeeced94277aa5b8 (patch)
tree574a680074cf5f69522b79ef48430d57b8be0787 /src/net/ea
parent146e9182d8c930e62fbcc281615b96c95319a5ea (diff)
downloadmanaverse-5c30a24b51538c8a0656977caeeced94277aa5b8.tar.gz
manaverse-5c30a24b51538c8a0656977caeeced94277aa5b8.tar.bz2
manaverse-5c30a24b51538c8a0656977caeeced94277aa5b8.tar.xz
manaverse-5c30a24b51538c8a0656977caeeced94277aa5b8.zip
Add option to items.xml to set max floor item pixel offset.
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/itemhandler.cpp4
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)
{