diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-01-02 18:03:16 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-01-02 18:03:16 +0200 |
commit | 8f55e62495a8e5406c489d5800c5560eb8d9a3bd (patch) | |
tree | f8f70a67941016de2f4cbad9c18e9173f7b39d79 /src/net/tmwa | |
parent | ab460f9dfa0fa2203a5fab4ee037e749d7c65f46 (diff) | |
download | manaplus-8f55e62495a8e5406c489d5800c5560eb8d9a3bd.tar.gz manaplus-8f55e62495a8e5406c489d5800c5560eb8d9a3bd.tar.bz2 manaplus-8f55e62495a8e5406c489d5800c5560eb8d9a3bd.tar.xz manaplus-8f55e62495a8e5406c489d5800c5560eb8d9a3bd.zip |
Add error for non tradable items.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/tradehandler.cpp | 5 |
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.")) |