From a8de363078dc77764cb64951d26c2d21473199a1 Mon Sep 17 00:00:00 2001 From: Spoike Date: Tue, 6 Dec 2005 02:17:55 +0000 Subject: [PATCH] hopefully fixes a couple of things. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1669 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/server/sv_ents.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/engine/server/sv_ents.c b/engine/server/sv_ents.c index 2b72fb7ab..6ad8dff3f 100644 --- a/engine/server/sv_ents.c +++ b/engine/server/sv_ents.c @@ -422,6 +422,15 @@ void SV_CSQC_DroppedPacket(client_t *client, int sequence) if (client->csqcentsequence[i] == sequence) client->csqcentversions[i]--; //do that update thang (but later). } +void SV_CSQC_DropAll(client_t *client) +{ + int i; + if (!(client->csqcactive)) //we don't need this, but it might be a little faster. + return; + + for (i = 0; i < sv.num_edicts; i++) + client->csqcentversions[i]--; //do that update thang (but later). +} #endif //=============================================================================