]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix something bad
authorMario <mario.mario@y7mail.com>
Fri, 20 Dec 2013 18:22:35 +0000 (05:22 +1100)
committerMario <mario.mario@y7mail.com>
Fri, 20 Dec 2013 18:22:35 +0000 (05:22 +1100)
qcsrc/common/monsters/monster/mage.qc

index 6822363c56888742788beedd7e3af894caddc685..d340c09d780b2dabfd36176049de169a61545878 100644 (file)
@@ -63,7 +63,7 @@ float friend_needshelp(entity e)
        if(e.frozen)
                return FALSE;
        if(!IS_PLAYER(e))
-               return (e.flags & FL_MONSTER && e.health < e.max_health);
+               return ((e.flags & FL_MONSTER) && e.health < e.max_health);
        if(e.items & IT_INVINCIBLE)
                return FALSE;