From 8f55e62495a8e5406c489d5800c5560eb8d9a3bd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 2 Jan 2011 18:03:16 +0200 Subject: Add error for non tradable items. --- src/net/tmwa/tradehandler.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/net/tmwa/tradehandler.cpp b/src/net/tmwa/tradehandler.cpp index 6c48d5e6c..323adbe92 100644 --- a/src/net/tmwa/tradehandler.cpp +++ b/src/net/tmwa/tradehandler.cpp @@ -246,6 +246,11 @@ void TradeHandler::handleMessage(Net::MessageIn &msg) SERVER_NOTICE(_("Failed adding item. Trade " "partner has no free slot.")) break; + case 3: + // Add item failed - non tradable item + SERVER_NOTICE(_("Failed adding item. You " + "cant trade this item.")) + break; default: SERVER_NOTICE(_("Failed adding item for " "unknown reason.")) -- cgit v1.2.3-70-g09d2