diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-01-02 18:03:16 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-01-24 14:06:14 +0100 |
commit | ee0439f5d1832dbf5460a2e4bf1408b4ae4678bc (patch) | |
tree | 8ebe9fc8c04bef03ca46d3ac72547ff724c07034 /src/net/tmwa | |
parent | 3967120df0371a8e1a0ceb10230bfa6cb77ce6ef (diff) | |
download | Mana-ee0439f5d1832dbf5460a2e4bf1408b4ae4678bc.tar.gz Mana-ee0439f5d1832dbf5460a2e4bf1408b4ae4678bc.tar.bz2 Mana-ee0439f5d1832dbf5460a2e4bf1408b4ae4678bc.tar.xz Mana-ee0439f5d1832dbf5460a2e4bf1408b4ae4678bc.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 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.")) |