diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-07-05 01:19:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-07-05 01:19:54 +0300 |
commit | c0793c747565b10ece4574221268eb623e12995e (patch) | |
tree | ab5c5effddf0a0c9649f20a83d7db2801a65dad7 /src/net/ea/itemhandler.cpp | |
parent | 5c30a24b51538c8a0656977caeeced94277aa5b8 (diff) | |
download | plus-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.cpp | 4 |
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) |