fixed a possible client crash on map change

This commit is contained in:
oy 2011-04-07 18:23:03 +02:00
parent c27a634089
commit f38fc81d78

View file

@ -1660,7 +1660,7 @@ void CClient::Update()
Disconnect(); Disconnect();
} }
} }
else if(State() != IClient::STATE_OFFLINE && m_RecivedSnapshots >= 3) else if(State() == IClient::STATE_ONLINE && m_RecivedSnapshots >= 3)
{ {
// switch snapshot // switch snapshot
int Repredict = 0; int Repredict = 0;