diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-03 20:45:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-06 01:18:56 +0300 |
commit | 5a90cfe600073fbae6d097080ee88fd41cdcbeb7 (patch) | |
tree | 319c34f2cb259d9d8f55bba743182a2d511106c4 /src/net/ea/itemhandler.cpp | |
parent | db1548f44fb972c0c60b742dfece7e1f442e0378 (diff) | |
download | plus-5a90cfe600073fbae6d097080ee88fd41cdcbeb7.tar.gz plus-5a90cfe600073fbae6d097080ee88fd41cdcbeb7.tar.bz2 plus-5a90cfe600073fbae6d097080ee88fd41cdcbeb7.tar.xz plus-5a90cfe600073fbae6d097080ee88fd41cdcbeb7.zip |
Move processItemDropped from ea namespace into eathena and tmwa.
Diffstat (limited to 'src/net/ea/itemhandler.cpp')
-rw-r--r-- | src/net/ea/itemhandler.cpp | 18 |
1 files changed, 0 insertions, 18 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) |