summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-09 17:18:33 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-09 17:18:33 +0300
commitfa74e7c9b1e51d696ded77363d441f0e966ca1ad (patch)
tree29a03133071afa776ae34d824bc19b8f94d6c4b6 /src/net/ea
parent3ed77b00b2a15aa478de49b7d8382d7a99930e73 (diff)
downloadplus-fa74e7c9b1e51d696ded77363d441f0e966ca1ad.tar.gz
plus-fa74e7c9b1e51d696ded77363d441f0e966ca1ad.tar.bz2
plus-fa74e7c9b1e51d696ded77363d441f0e966ca1ad.tar.xz
plus-fa74e7c9b1e51d696ded77363d441f0e966ca1ad.zip
Add missing trade errors.
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/tradehandler.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/ea/tradehandler.cpp b/src/net/ea/tradehandler.cpp
index 482179bd1..2e9e5db56 100644
--- a/src/net/ea/tradehandler.cpp
+++ b/src/net/ea/tradehandler.cpp
@@ -124,6 +124,10 @@ void TradeHandler::processTradeResponseContinue(const uint8_t type) const
}
PlayerInfo::setTrading(false);
break;
+ case 5:
+ NotifyManager::notify(NotifyTypes::TRADE_CANCELLED_BUSY,
+ tradePartnerName);
+ break;
default: // Shouldn't happen as well, but to be sure
NotifyManager::notify(NotifyTypes::TRADE_ERROR_UNKNOWN,
tradePartnerName);