diff options
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/itemhandler.cpp | 18 | ||||
-rw-r--r-- | src/net/ea/itemhandler.h | 2 |
2 files changed, 0 insertions, 20 deletions
diff --git a/src/net/ea/itemhandler.cpp b/src/net/ea/itemhandler.cpp index e5ed730a0..4a5286aee 100644 --- a/src/net/ea/itemhandler.cpp +++ b/src/net/ea/itemhandler.cpp @@ -57,24 +57,6 @@ void ItemHandler::processItemVisible(Net::MessageIn &msg) } } -void ItemHandler::processItemDropped(Net::MessageIn &msg) -{ - const int id = msg.readInt32(); - const int itemId = msg.readInt16(); - const uint8_t identify = msg.readUInt8(); // identify flag - const int x = msg.readInt16(); - const int y = msg.readInt16(); - const int subX = static_cast<int>(msg.readInt8()); - const int subY = static_cast<int>(msg.readInt8()); - const int amount = msg.readInt16(); - - if (actorManager) - { - actorManager->createItem(id, itemId, - x, y, amount, identify, subX, subY); - } -} - void ItemHandler::processItemRemove(Net::MessageIn &msg) { if (actorManager) diff --git a/src/net/ea/itemhandler.h b/src/net/ea/itemhandler.h index ff57d5c9f..fea164d69 100644 --- a/src/net/ea/itemhandler.h +++ b/src/net/ea/itemhandler.h @@ -47,8 +47,6 @@ class ItemHandler notfinal static void processItemVisible(Net::MessageIn &msg); static void processItemRemove(Net::MessageIn &msg); - - static void processItemDropped(Net::MessageIn &msg); }; } // namespace Ea |