mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
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:
parent
a2035c91ed
commit
453fa9e589
1 changed files with 5 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue