summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-01-02 18:03:16 +0200
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-01-24 14:06:14 +0100
commitee0439f5d1832dbf5460a2e4bf1408b4ae4678bc (patch)
tree8ebe9fc8c04bef03ca46d3ac72547ff724c07034 /src
parent3967120df0371a8e1a0ceb10230bfa6cb77ce6ef (diff)
downloadmana-ee0439f5d1832dbf5460a2e4bf1408b4ae4678bc.tar.gz
mana-ee0439f5d1832dbf5460a2e4bf1408b4ae4678bc.tar.bz2
mana-ee0439f5d1832dbf5460a2e4bf1408b4ae4678bc.tar.xz
mana-ee0439f5d1832dbf5460a2e4bf1408b4ae4678bc.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 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."))