diff --git a/engine/client/cl_ents.c b/engine/client/cl_ents.c index f3d87f455..769e6332f 100644 --- a/engine/client/cl_ents.c +++ b/engine/client/cl_ents.c @@ -4201,6 +4201,10 @@ void CL_LinkPacketEntities (void) ent->shaderRGBAf[1] = (state->colormod[1]*8.0f)/256; ent->shaderRGBAf[2] = (state->colormod[2]*8.0f)/256; } + if (state->colormod[0] == 32 && state->colormod[1] == 32 && state->colormod[2] == 32) + VectorSet(ent->glowmod, 1, 1, 1); + else + VectorScale(state->glowmod, 1/255.0, ent->glowmod); #ifdef PEXT_FATNESS //set trans