From ee0439f5d1832dbf5460a2e4bf1408b4ae4678bc 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 40e37594..a02056a4 100644 --- a/src/net/tmwa/tradehandler.cpp +++ b/src/net/tmwa/tradehandler.cpp @@ -207,6 +207,11 @@ void TradeHandler::handleMessage(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