From 9aa87ad28ef3571bbe1d1fe2f347ff2d5d9c465f Mon Sep 17 00:00:00 2001 From: Spoike Date: Wed, 25 Mar 2020 20:56:01 +0000 Subject: [PATCH] Fix the SendEntity geomsets issue Eukara found. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5655 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/server/sv_user.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/engine/server/sv_user.c b/engine/server/sv_user.c index 5567172d3..23adbeaa7 100644 --- a/engine/server/sv_user.c +++ b/engine/server/sv_user.c @@ -5623,10 +5623,16 @@ static void Cmd_FPSList_f(void) void SV_EnableClientsCSQC(void) { + size_t e; if (host_client->controller) return; host_client->csqcactive = true; + + //if the csqc has just restarted, its probably going to want us to resend all csqc ents from scratch because of all the setup it might do. + for (e = 1; e < host_client->max_net_ents; e++) + if (host_client->pendingcsqcbits[e] & SENDFLAGS_PRESENT) + host_client->pendingcsqcbits[e] |= SENDFLAGS_USABLE; } void SV_DisableClientsCSQC(void) { @@ -6133,6 +6139,10 @@ ucmd_t ucmds[] = {"efpslist", Cmd_FPSList_f}, //don't conflict with the ktpro one {"vote", SV_Vote_f}, + //{"ban", Cmd_Ban_f}, //for admins + //{"banip", Cmd_BanIP_f}, //for admins + //{"banrem", Cmd_BanRem_f}, //for admins + /*user interactions*/ {"sayone", SV_SayOne_f}, {"say", SV_Say_f},