diff options
Diffstat (limited to 'src/net/manaserv/itemhandler.cpp')
-rw-r--r-- | src/net/manaserv/itemhandler.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/net/manaserv/itemhandler.cpp b/src/net/manaserv/itemhandler.cpp index 3d89487c..79a0caf0 100644 --- a/src/net/manaserv/itemhandler.cpp +++ b/src/net/manaserv/itemhandler.cpp @@ -21,11 +21,9 @@ #include "net/manaserv/itemhandler.h" -#include "engine.h" #include "flooritemmanager.h" #include "net/manaserv/protocol.h" - #include "net/manaserv/messagein.h" namespace ManaServ { @@ -56,7 +54,7 @@ void ItemHandler::handleMessage(Net::MessageIn &msg) if (itemId) { - floorItemManager->create(id, itemId, x / 32, y / 32, engine->getCurrentMap()); + floorItemManager->create(id, itemId, x / 32, y / 32); } else if (FloorItem *item = floorItemManager->findById(id)) { |