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

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();