diff options
| author | Joel de Vahl <joel@stalverk80.se> | 2007-12-09 10:44:35 +0000 |
|---|---|---|
| committer | Joel de Vahl <joel@stalverk80.se> | 2007-12-09 10:44:35 +0000 |
| commit | fce6a2c10d52e7a104c8c5a94d2b08d283d6a4e5 (patch) | |
| tree | 0d332c5e8dc4fed134dd1bc6e20fa3a27f58c2ec /src/engine | |
| parent | 12d13a2d3440e026322120e608e7c5ee0f50cfa8 (diff) | |
| download | zcatch-fce6a2c10d52e7a104c8c5a94d2b08d283d6a4e5.tar.gz zcatch-fce6a2c10d52e7a104c8c5a94d2b08d283d6a4e5.zip | |
No prediction or updates if we are offline.
Diffstat (limited to 'src/engine')
| -rw-r--r-- | src/engine/client/client.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine/client/client.c b/src/engine/client/client.c index bcc350d2..7c6e52ad 100644 --- a/src/engine/client/client.c +++ b/src/engine/client/client.c @@ -852,6 +852,8 @@ static void client_pump_network() static void client_update() { + if(client_state() == CLIENTSTATE_OFFLINE) + return; /* switch snapshot */ if(recived_snapshots >= 3) |