1
0
Fork 0
forked from fte/fteqw

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3482 fc73d0e0-1445-4013-8a0c-d673dee63da5

This commit is contained in:
Magnus 2009-12-02 02:47:08 +00:00
parent d788f223b5
commit 7d2d7ba88d

View file

@ -107,10 +107,9 @@ void(entity targ, entity attacker) ArmorNoise =
{
local float r;
if (targ.classname != "player" && targ.classname != "monster")
if (attacker.classname != "player" && targ.classname != "monster")
return;
if (attacker.classname != "player" && attacker.classname != "monster")
else if (targ.classname != "player" && attacker.classname != "monster")
return;
r = random();