diff options
Diffstat (limited to 'src/net/ea/inventoryhandler.cpp')
-rw-r--r-- | src/net/ea/inventoryhandler.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp index 21ad9139a..a508460d4 100644 --- a/src/net/ea/inventoryhandler.cpp +++ b/src/net/ea/inventoryhandler.cpp @@ -22,7 +22,6 @@ #include "net/ea/inventoryhandler.h" -#include "notifications.h" #include "notifymanager.h" #include "being/attributes.h" @@ -37,6 +36,8 @@ #include "listeners/arrowslistener.h" +#include "resources/notifytypes.h" + #include "debug.h" extern int serverVersion; @@ -394,7 +395,7 @@ void InventoryHandler::processItemUseResponse(Net::MessageIn &msg) if (msg.readInt8() == 0) { - NotifyManager::notify(NotifyManager::USE_FAILED); + NotifyManager::notify(NotifyTypes::USE_FAILED); } else { @@ -555,7 +556,7 @@ void InventoryHandler::processPlayerEquip(Net::MessageIn &msg) const int flag = msg.readInt8(); if (!flag) - NotifyManager::notify(NotifyManager::EQUIP_FAILED); + NotifyManager::notify(NotifyTypes::EQUIP_FAILED); else mEquips.setEquipment(getSlot(equipType), index); } |