EF_ADDITIVE should work under QW protocol for NQ mods

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2333 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
TimeServ 2006-06-19 21:56:42 +00:00
parent 554d49d657
commit 21c9394dec

View file

@ -2315,6 +2315,7 @@ void SV_WriteEntitiesToClient (client_t *client, sizebuf_t *msg, qboolean ignore
state->number++;
state->skinnum = 1;
}
state->effects &= ~(QWEF_FLAG1 | QWEF_FLAG2);
}
#ifdef NQPROT
@ -2553,6 +2554,9 @@ void SV_WriteEntitiesToClient (client_t *client, sizebuf_t *msg, qboolean ignore
}
}
if (state->effects & 0x32)
state->effects |= 0;
if (state->effects & EF_FULLBRIGHT)
{
state->hexen2flags |= MLS_FULLBRIGHT;
@ -2572,7 +2576,8 @@ void SV_WriteEntitiesToClient (client_t *client, sizebuf_t *msg, qboolean ignore
state->modelindex = 0;
}
state->effects &= ~ (QWEF_FLAG1|QWEF_FLAG2);
if (e <= sv.allocated_client_slots) // clear only client ents
state->effects &= ~ (QWEF_FLAG1|QWEF_FLAG2);
}
if (!ent->v->colormod[0] && !ent->v->colormod[1] && !ent->v->colormod[2])