1
0
Fork 0
forked from fte/fteqw

Hexen2 effect fix

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1421 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
TimeServ 2005-10-05 02:08:28 +00:00
parent a2035c91ed
commit 453fa9e589

View file

@ -1796,8 +1796,11 @@ void CL_LinkPacketEntities (void)
}
else if (model->flags & EF_SPIT)
{
// how the hell does this even work?
rad = -120 - (rand() % 20);
// as far as I can tell this effect inverses the light...
dclr[0] = -dclr[0];
dclr[0] = -dclr[1];
dclr[0] = -dclr[2];
rad = 120 - (rand() % 20);
}
if (rad)