summaryrefslogtreecommitdiff
path: root/src
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 /src
parentab460f9dfa0fa2203a5fab4ee037e749d7c65f46 (diff)
downloadmanaverse-8f55e62495a8e5406c489d5800c5560eb8d9a3bd.tar.gz
manaverse-8f55e62495a8e5406c489d5800c5560eb8d9a3bd.tar.bz2
manaverse-8f55e62495a8e5406c489d5800c5560eb8d9a3bd.tar.xz
manaverse-8f55e62495a8e5406c489d5800c5560eb8d9a3bd.zip
Add error for non tradable items.
Diffstat (limited to 'src')
-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."))