summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-01-02 18:03:16 +0200
committerAndrei Karas <akaras@inbox.ru>2011-01-02 18:03:16 +0200
commit8f55e62495a8e5406c489d5800c5560eb8d9a3bd (patch)
treef8f70a67941016de2f4cbad9c18e9173f7b39d79
parentab460f9dfa0fa2203a5fab4ee037e749d7c65f46 (diff)
downloadmanaplus-8f55e62495a8e5406c489d5800c5560eb8d9a3bd.tar.gz
manaplus-8f55e62495a8e5406c489d5800c5560eb8d9a3bd.tar.bz2
manaplus-8f55e62495a8e5406c489d5800c5560eb8d9a3bd.tar.xz
manaplus-8f55e62495a8e5406c489d5800c5560eb8d9a3bd.zip
Add error for non tradable items.
-rw-r--r--src/net/tmwa/tradehandler.cpp5
1 files changed, 5 insertions, 0 deletions
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."))