summaryrefslogtreecommitdiff
path: root/src/net/tmwa/buysellhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/buysellhandler.cpp')
-rw-r--r--src/net/tmwa/buysellhandler.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/net/tmwa/buysellhandler.cpp b/src/net/tmwa/buysellhandler.cpp
index 474e58cf..e6ccae56 100644
--- a/src/net/tmwa/buysellhandler.cpp
+++ b/src/net/tmwa/buysellhandler.cpp
@@ -111,11 +111,7 @@ void BuySellHandler::handleMessage(Net::MessageIn &msg)
break;
case SMSG_NPC_BUY_RESPONSE:
- if (msg.readInt8() == 0)
- {
- SERVER_NOTICE(_("Thanks for buying."))
- }
- else
+ if (msg.readInt8() != 0)
{
// Reset player money since buy dialog already assumed purchase
// would go fine
@@ -125,9 +121,7 @@ void BuySellHandler::handleMessage(Net::MessageIn &msg)
break;
case SMSG_NPC_SELL_RESPONSE:
- if (msg.readInt8() == 0)
- SERVER_NOTICE(_("Thanks for selling."))
- else
+ if (msg.readInt8() != 0)
SERVER_NOTICE(_("Unable to sell."))
break;
}