From a51da75e329df773a01e963c3a27e72cf487138c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 6 Jun 2014 22:41:39 +0300 Subject: fix code style. --- src/net/ea/buysellhandler.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/net/ea/buysellhandler.cpp') 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); } } -- cgit v1.2.3-70-g09d2