mirror of
https://github.com/nzp-team/fteqw.git
synced 2025-01-19 23:11:05 +00:00
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
This commit is contained in:
parent
7d0014bf34
commit
9aa87ad28e
1 changed files with 10 additions and 0 deletions
|
@ -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},
|
||||
|
|
Loading…
Reference in a new issue