From e27e2d8b2a65e1476b275bd35a1148253434f8f3 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sun, 16 Nov 2008 13:58:27 +0000 Subject: fixed server side demo recording and some possible crashes with incorrect demos --- src/game/client/gameclient.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game/client/gameclient.cpp') diff --git a/src/game/client/gameclient.cpp b/src/game/client/gameclient.cpp index bc77798a..4ee92460 100644 --- a/src/game/client/gameclient.cpp +++ b/src/game/client/gameclient.cpp @@ -620,6 +620,8 @@ void GAMECLIENT::on_snapshot() local_character_pos = vec2(snap.local_character->x, snap.local_character->y); } } + else + snap.spectate = true; // update render info for(int i = 0; i < MAX_CLIENTS; i++) -- cgit 1.4.1