diff options
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/buysellhandler.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/net/tmwa/buysellhandler.cpp b/src/net/tmwa/buysellhandler.cpp index 00cb16231..997a6220c 100644 --- a/src/net/tmwa/buysellhandler.cpp +++ b/src/net/tmwa/buysellhandler.cpp @@ -24,9 +24,9 @@ #include "actorspritemanager.h" #include "configuration.h" -#include "depricatedevent.h" #include "inventory.h" #include "localplayer.h" +#include "notifymanager.h" #include "playerinfo.h" #include "gui/buydialog.h" @@ -130,17 +130,17 @@ void BuySellHandler::processNpcSellResponse(Net::MessageIn &msg) switch (msg.readInt8()) { case 0: - SERVER_NOTICE(_("Thanks for selling.")) + NotifyManager::notify(NotifyManager::SOLD); break; case 1: default: - SERVER_NOTICE(_("Unable to sell.")) + NotifyManager::notify(NotifyManager::SELL_FAILED); break; case 2: - SERVER_NOTICE(_("Unable to sell while trading.")) + NotifyManager::notify(NotifyManager::SELL_TRADE_FAILED); break; case 3: - SERVER_NOTICE(_("Unable to sell unsellable item.")) + NotifyManager::notify(NotifyManager::SELL_UNSELLABLE_FAILED); break; } } |