diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-06-06 22:41:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-06-07 02:07:03 +0300 |
commit | a51da75e329df773a01e963c3a27e72cf487138c (patch) | |
tree | c48d7c682be1104138dd16daa75fd12a3fcae82b /src/net/ea/inventoryhandler.cpp | |
parent | 4f7e38d218848bd34bd86dda75446881dad2bb32 (diff) | |
download | plus-a51da75e329df773a01e963c3a27e72cf487138c.tar.gz plus-a51da75e329df773a01e963c3a27e72cf487138c.tar.bz2 plus-a51da75e329df773a01e963c3a27e72cf487138c.tar.xz plus-a51da75e329df773a01e963c3a27e72cf487138c.zip |
fix code style.
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); } |