From cd1107adf5a2c8c565e6d3ccb416800655371160 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Mon, 17 Feb 2014 13:57:26 +0100 Subject: [PATCH] Fix #134 Exit crash after failed response from character selection --HG-- branch : compatibility --- code/ryzom/client/src/far_tp.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/ryzom/client/src/far_tp.cpp b/code/ryzom/client/src/far_tp.cpp index da661c9a3..5ecd90c9c 100644 --- a/code/ryzom/client/src/far_tp.cpp +++ b/code/ryzom/client/src/far_tp.cpp @@ -977,7 +977,8 @@ void CFarTP::requestReturnToPreviousSession(TSessionId rejectedSessionId) void CFarTP::requestReconnection() { _ReselectingChar = true; - requestFarTPToSession(TSessionId(std::numeric_limits::max()), std::numeric_limits::max(), CFarTP::JoinMainland, false); + if (!requestFarTPToSession(TSessionId(std::numeric_limits::max()), std::numeric_limits::max(), CFarTP::JoinMainland, false)) + _ReselectingChar = false; }