mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 20:11:44 +00:00
fix PVSF_NOREMOVE bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5350 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
16abd453c8
commit
c25e7908f0
1 changed files with 2 additions and 2 deletions
|
@ -328,7 +328,7 @@ void SV_EmitCSQCUpdate(client_t *client, sizebuf_t *msg, qbyte svcnumber)
|
|||
{
|
||||
if (!(client->pendingcsqcbits[entnum] & SENDFLAGS_REMOVED))
|
||||
{ //while the entity has NOREMOVE, only remove it if the remove is a resend
|
||||
if ((int)EDICT_NUM_PB(svprogfuncs, en)->xv->pvsflags & PVSF_NOREMOVE)
|
||||
if ((int)EDICT_NUM_PB(svprogfuncs, entnum)->xv->pvsflags & PVSF_NOREMOVE)
|
||||
continue;
|
||||
}
|
||||
if (msg->cursize + 5 >= msg->maxsize)
|
||||
|
@ -450,7 +450,7 @@ void SV_EmitCSQCUpdate(client_t *client, sizebuf_t *msg, qbyte svcnumber)
|
|||
if (client->pendingcsqcbits[entnum] & (SENDFLAGS_PRESENT|SENDFLAGS_REMOVED))
|
||||
{
|
||||
if (!(client->pendingcsqcbits[entnum] & SENDFLAGS_REMOVED))
|
||||
{ //while the entity has NOREMOVE, only remove it if the remove is a resend
|
||||
{ //while the original entity has NOREMOVE, only remove it if the remove is a resend
|
||||
if ((int)EDICT_NUM_PB(svprogfuncs, entnum)->xv->pvsflags & PVSF_NOREMOVE)
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue