From eac52dedf27bab9b263ca6833cf4291cf9ddeecf Mon Sep 17 00:00:00 2001 From: Spoike Date: Sun, 5 Dec 2004 15:38:57 +0000 Subject: [PATCH] prevent mvd playback from doing prespawnie type things. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@574 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/server/sv_user.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/engine/server/sv_user.c b/engine/server/sv_user.c index 8ea1e66f5..436b37d85 100644 --- a/engine/server/sv_user.c +++ b/engine/server/sv_user.c @@ -827,7 +827,7 @@ void SV_PreSpawn_f (void) SZ_Clear(&host_client->netchan.message); } - if (buf >= bufs) + if (buf >= bufs && !sv.democausesreconnect) { int i; entity_state_t from; @@ -969,7 +969,11 @@ void SV_PreSpawn_f (void) } } } - else + else if (buf >= bufs) + { + buf = bufs+sv.numextrastatics+sv.num_edicts+255; + } + else { if (sv.democausesreconnect) SZ_Write (&host_client->netchan.message,