summaryrefslogtreecommitdiff
path: root/src/net/ea/buysellhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/buysellhandler.cpp')
-rw-r--r--src/net/ea/buysellhandler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/ea/buysellhandler.cpp b/src/net/ea/buysellhandler.cpp
index 1b24c6b42..2838f8351 100644
--- a/src/net/ea/buysellhandler.cpp
+++ b/src/net/ea/buysellhandler.cpp
@@ -25,9 +25,9 @@
#include "actorspritemanager.h"
#include "client.h"
#include "configuration.h"
-#include "depricatedevent.h"
#include "inventory.h"
#include "localplayer.h"
+#include "notifymanager.h"
#include "playerinfo.h"
#include "gui/buydialog.h"
@@ -160,7 +160,7 @@ void BuySellHandler::processNpcSell(Net::MessageIn &msg, int offset)
}
else
{
- SERVER_NOTICE(_("Nothing to sell."))
+ NotifyManager::notify(NotifyManager::SELL_LIST_EMPTY);
}
}
@@ -168,7 +168,7 @@ void BuySellHandler::processNpcBuyResponse(Net::MessageIn &msg)
{
if (msg.readInt8() == 0)
{
- SERVER_NOTICE(_("Thanks for buying."))
+ NotifyManager::notify(NotifyManager::BUY_DONE);
}
else
{
@@ -176,7 +176,7 @@ void BuySellHandler::processNpcBuyResponse(Net::MessageIn &msg)
// would go fine
if (mBuyDialog)
mBuyDialog->setMoney(PlayerInfo::getAttribute(PlayerInfo::MONEY));
- SERVER_NOTICE(_("Unable to buy."))
+ NotifyManager::notify(NotifyManager::BUY_FAILED);
}
}