summaryrefslogtreecommitdiff
path: root/src/net/ea/itemhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-07-05 01:19:54 +0300
committerAndrei Karas <akaras@inbox.ru>2012-07-05 01:19:54 +0300
commitc0793c747565b10ece4574221268eb623e12995e (patch)
treeab5c5effddf0a0c9649f20a83d7db2801a65dad7 /src/net/ea/itemhandler.cpp
parent5c30a24b51538c8a0656977caeeced94277aa5b8 (diff)
downloadplus-c0793c747565b10ece4574221268eb623e12995e.tar.gz
plus-c0793c747565b10ece4574221268eb623e12995e.tar.bz2
plus-c0793c747565b10ece4574221268eb623e12995e.tar.xz
plus-c0793c747565b10ece4574221268eb623e12995e.zip
Fix floor items position. Was broken in previous commit.
Diffstat (limited to 'src/net/ea/itemhandler.cpp')
-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 2d2566409..dcc17421f 100644
--- a/src/net/ea/itemhandler.cpp
+++ b/src/net/ea/itemhandler.cpp
@@ -60,8 +60,8 @@ void ItemHandler::processItemDropped(Net::MessageIn &msg)
unsigned char identify = msg.readInt8(); // identify flag
int x = msg.readInt16();
int y = msg.readInt16();
- int subX = msg.readInt8() + 16 - 8;
- int subY = msg.readInt8() + 32 - 8;
+ int subX = msg.readInt8();
+ int subY = msg.readInt8();
int amount = msg.readInt16();
if (actorSpriteManager)