Fix #134 Exit crash after failed response from character selection

--HG--
branch : compatibility
This commit is contained in:
kaetemi 2014-02-17 13:57:26 +01:00
parent d2d87d2644
commit cd1107adf5

View file

@ -977,7 +977,8 @@ void CFarTP::requestReturnToPreviousSession(TSessionId rejectedSessionId)
void CFarTP::requestReconnection() void CFarTP::requestReconnection()
{ {
_ReselectingChar = true; _ReselectingChar = true;
requestFarTPToSession(TSessionId(std::numeric_limits<uint16>::max()), std::numeric_limits<uint8>::max(), CFarTP::JoinMainland, false); if (!requestFarTPToSession(TSessionId(std::numeric_limits<uint16>::max()), std::numeric_limits<uint8>::max(), CFarTP::JoinMainland, false))
_ReselectingChar = false;
} }