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
1 changed files with 5 additions and 2 deletions

View File

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