diff options
| author | oy <Tom_Adams@web.de> | 2011-04-07 18:23:03 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-04-07 18:23:03 +0200 |
| commit | f38fc81d7872c5c617690026700d55e9c256a30f (patch) | |
| tree | 038b573e9ed3e898c1c6d021cc91d5ad6eb17e02 /src/engine/client | |
| parent | c27a634089fc7464c2ec6a50ece2f2e32b9d1563 (diff) | |
| download | zcatch-f38fc81d7872c5c617690026700d55e9c256a30f.tar.gz zcatch-f38fc81d7872c5c617690026700d55e9c256a30f.zip | |
fixed a possible client crash on map change
Diffstat (limited to 'src/engine/client')
| -rw-r--r-- | src/engine/client/client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/client/client.cpp b/src/engine/client/client.cpp index 2141e511..536d8231 100644 --- a/src/engine/client/client.cpp +++ b/src/engine/client/client.cpp @@ -1660,7 +1660,7 @@ void CClient::Update() Disconnect(); } } - else if(State() != IClient::STATE_OFFLINE && m_RecivedSnapshots >= 3) + else if(State() == IClient::STATE_ONLINE && m_RecivedSnapshots >= 3) { // switch snapshot int Repredict = 0; |