Fix #134 Exit crash after failed response from character selection

This commit is contained in:
kaetemi 2014-02-17 13:57:26 +01:00
parent a03733d031
commit 757e5efb03

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;
} }