From fce6a2c10d52e7a104c8c5a94d2b08d283d6a4e5 Mon Sep 17 00:00:00 2001 From: Joel de Vahl Date: Sun, 9 Dec 2007 10:44:35 +0000 Subject: No prediction or updates if we are offline. --- src/engine/client/client.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/engine/client/client.c') 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) -- cgit 1.4.1