diff options
Diffstat (limited to 'src/net/ea/buysellhandler.cpp')
-rw-r--r-- | src/net/ea/buysellhandler.cpp | 9 |
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); } } |