diff options
Diffstat (limited to 'src/net/tradehandler.cpp')
-rw-r--r-- | src/net/tradehandler.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/net/tradehandler.cpp b/src/net/tradehandler.cpp index 9599fa9d..e2f7b998 100644 --- a/src/net/tradehandler.cpp +++ b/src/net/tradehandler.cpp @@ -130,7 +130,7 @@ void TradeHandler::handleMessage(MessageIn *msg) chatWindow->chatLog("Trade with " + tradePartnerName + " cancelled", BY_SERVER); // otherwise ignore silently - + tradeWindow->setVisible(false); player_node->setTrading(false); break; @@ -189,6 +189,12 @@ void TradeHandler::handleMessage(MessageIn *msg) "partner is over weighted.", BY_SERVER); break; + case 2: + // Add item failed - player has no free slot + chatWindow->chatLog("Failed adding item. Trade " + "partner has no free slot.", + BY_SERVER); + break; default: chatWindow->chatLog("Failed adding item for " "unknown reason.", BY_SERVER); |