From 5c30a24b51538c8a0656977caeeced94277aa5b8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 4 Jul 2012 22:15:48 +0300 Subject: Add option to items.xml to set max floor item pixel offset. --- src/net/ea/itemhandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net') 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) { -- cgit v1.2.3-70-g09d2