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 5c17bb1f8e
commit a6a72fd622

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