summaryrefslogtreecommitdiff
path: root/src/net/ea/inventoryhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-06 22:41:39 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-07 02:07:03 +0300
commita51da75e329df773a01e963c3a27e72cf487138c (patch)
treec48d7c682be1104138dd16daa75fd12a3fcae82b /src/net/ea/inventoryhandler.cpp
parent4f7e38d218848bd34bd86dda75446881dad2bb32 (diff)
downloadmv-a51da75e329df773a01e963c3a27e72cf487138c.tar.gz
mv-a51da75e329df773a01e963c3a27e72cf487138c.tar.bz2
mv-a51da75e329df773a01e963c3a27e72cf487138c.tar.xz
mv-a51da75e329df773a01e963c3a27e72cf487138c.zip
fix code style.
Diffstat (limited to 'src/net/ea/inventoryhandler.cpp')
-rw-r--r--src/net/ea/inventoryhandler.cpp7
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);
}