Don't reset timeout state on rejoin

This commit is contained in:
east 2015-08-28 12:23:37 +02:00
parent b743119d0d
commit d1c0551546

View file

@ -21,11 +21,12 @@ void CNetConnection::Reset(bool Rejoin)
m_Sequence = 0;
m_Ack = 0;
m_RemoteClosed = 0;
m_TimeoutProtected = false;
m_TimeoutSituation = false;
if (!Rejoin)
{
m_TimeoutProtected = false;
m_TimeoutSituation = false;
m_State = NET_CONNSTATE_OFFLINE;
m_Token = -1;
m_SecurityToken = NET_SECURITY_TOKEN_UNKNOWN;