summaryrefslogtreecommitdiff
path: root/src/net/ea/itemhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/itemhandler.cpp')
-rw-r--r--src/net/ea/itemhandler.cpp14
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