about summary refs log tree commit diff
path: root/src/engine/client/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/client/client.c')
-rw-r--r--src/engine/client/client.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/engine/client/client.c b/src/engine/client/client.c
index 7c6e52ad..d1ab4cdb 100644
--- a/src/engine/client/client.c
+++ b/src/engine/client/client.c
@@ -852,11 +852,8 @@ static void client_pump_network()
 
 static void client_update()
 {
-	if(client_state() == CLIENTSTATE_OFFLINE)
-		return;
-
 	/* switch snapshot */
-	if(recived_snapshots >= 3)
+	if(client_state() != CLIENTSTATE_OFFLINE && recived_snapshots >= 3)
 	{
 		int repredict = 0;
 		int64 now = st_get(&game_time, time_get());