summaryrefslogtreecommitdiff
path: root/src/net/ea/buysellhandler.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/buysellhandler.cpp
parent4f7e38d218848bd34bd86dda75446881dad2bb32 (diff)
downloadmanaverse-a51da75e329df773a01e963c3a27e72cf487138c.tar.gz
manaverse-a51da75e329df773a01e963c3a27e72cf487138c.tar.bz2
manaverse-a51da75e329df773a01e963c3a27e72cf487138c.tar.xz
manaverse-a51da75e329df773a01e963c3a27e72cf487138c.zip
fix code style.
Diffstat (limited to 'src/net/ea/buysellhandler.cpp')
-rw-r--r--src/net/ea/buysellhandler.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/net/ea/buysellhandler.cpp b/src/net/ea/buysellhandler.cpp
index 47074d99c..f8871748f 100644
--- a/src/net/ea/buysellhandler.cpp
+++ b/src/net/ea/buysellhandler.cpp
@@ -24,7 +24,6 @@
#include "configuration.h"
#include "inventory.h"
-#include "notifications.h"
#include "notifymanager.h"
#include "being/attributes.h"
@@ -42,6 +41,8 @@
#include "utils/timer.h"
+#include "resources/notifytypes.h"
+
#include "debug.h"
namespace Ea
@@ -162,7 +163,7 @@ void BuySellHandler::processNpcSell(Net::MessageIn &msg,
}
else
{
- NotifyManager::notify(NotifyManager::SELL_LIST_EMPTY);
+ NotifyManager::notify(NotifyTypes::SELL_LIST_EMPTY);
}
}
@@ -170,7 +171,7 @@ void BuySellHandler::processNpcBuyResponse(Net::MessageIn &msg) const
{
if (msg.readInt8() == 0)
{
- NotifyManager::notify(NotifyManager::BUY_DONE);
+ NotifyManager::notify(NotifyTypes::BUY_DONE);
}
else
{
@@ -178,7 +179,7 @@ void BuySellHandler::processNpcBuyResponse(Net::MessageIn &msg) const
// would go fine
if (mBuyDialog)
mBuyDialog->setMoney(PlayerInfo::getAttribute(Attributes::MONEY));
- NotifyManager::notify(NotifyManager::BUY_FAILED);
+ NotifyManager::notify(NotifyTypes::BUY_FAILED);
}
}