diff options
Diffstat (limited to 'src/net/ea/itemhandler.cpp')
-rw-r--r-- | src/net/ea/itemhandler.cpp | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/net/ea/itemhandler.cpp b/src/net/ea/itemhandler.cpp index b8973c039..19b1e919d 100644 --- a/src/net/ea/itemhandler.cpp +++ b/src/net/ea/itemhandler.cpp @@ -26,6 +26,8 @@ #include "net/messagein.h" +#include "net/ea/itemrecv.h" + #include "debug.h" namespace Ea @@ -39,16 +41,4 @@ ItemHandler::~ItemHandler() { } -void ItemHandler::processItemRemove(Net::MessageIn &msg) -{ - if (actorManager) - { - if (FloorItem *const item = actorManager - ->findItem(msg.readBeingId("floor item id"))) - { - actorManager->destroy(item); - } - } -} - } // namespace Ea |