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/tmwa/buysellhandler.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/net/tmwa/buysellhandler.cpp') diff --git a/src/net/tmwa/buysellhandler.cpp b/src/net/tmwa/buysellhandler.cpp index 5cc23a786..c44b2ebbf 100644 --- a/src/net/tmwa/buysellhandler.cpp +++ b/src/net/tmwa/buysellhandler.cpp @@ -22,7 +22,6 @@ #include "net/tmwa/buysellhandler.h" -#include "notifications.h" #include "notifymanager.h" #include "being/attributes.h" @@ -34,6 +33,8 @@ #include "net/tmwa/protocol.h" +#include "resources/notifytypes.h" + #include "debug.h" extern Net::BuySellHandler *buySellHandler; @@ -120,17 +121,17 @@ void BuySellHandler::processNpcSellResponse(Net::MessageIn &msg) switch (msg.readInt8()) { case 0: - NotifyManager::notify(NotifyManager::SOLD); + NotifyManager::notify(NotifyTypes::SOLD); break; case 1: default: - NotifyManager::notify(NotifyManager::SELL_FAILED); + NotifyManager::notify(NotifyTypes::SELL_FAILED); break; case 2: - NotifyManager::notify(NotifyManager::SELL_TRADE_FAILED); + NotifyManager::notify(NotifyTypes::SELL_TRADE_FAILED); break; case 3: - NotifyManager::notify(NotifyManager::SELL_UNSELLABLE_FAILED); + NotifyManager::notify(NotifyTypes::SELL_UNSELLABLE_FAILED); break; } } -- cgit v1.2.3-60-g2f50