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:
parent
554d49d657
commit
21c9394dec
1 changed files with 6 additions and 1 deletions
|
@ -2315,6 +2315,7 @@ void SV_WriteEntitiesToClient (client_t *client, sizebuf_t *msg, qboolean ignore
|
||||||
state->number++;
|
state->number++;
|
||||||
state->skinnum = 1;
|
state->skinnum = 1;
|
||||||
}
|
}
|
||||||
|
state->effects &= ~(QWEF_FLAG1 | QWEF_FLAG2);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef NQPROT
|
#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)
|
if (state->effects & EF_FULLBRIGHT)
|
||||||
{
|
{
|
||||||
state->hexen2flags |= MLS_FULLBRIGHT;
|
state->hexen2flags |= MLS_FULLBRIGHT;
|
||||||
|
@ -2572,7 +2576,8 @@ void SV_WriteEntitiesToClient (client_t *client, sizebuf_t *msg, qboolean ignore
|
||||||
state->modelindex = 0;
|
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])
|
if (!ent->v->colormod[0] && !ent->v->colormod[1] && !ent->v->colormod[2])
|
||||||
|
|
Loading…
Reference in a new issue