From: Mario Date: Fri, 20 Dec 2013 18:22:35 +0000 (+1100) Subject: Fix something bad X-Git-Tag: xonotic-v0.8.0~241^2^2~24 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7148b62b1b5a9998ab4d15ff4cdf02dab670ab12;p=xonotic%2Fxonotic-data.pk3dir.git Fix something bad --- diff --git a/qcsrc/common/monsters/monster/mage.qc b/qcsrc/common/monsters/monster/mage.qc index 6822363c5..d340c09d7 100644 --- a/qcsrc/common/monsters/monster/mage.qc +++ b/qcsrc/common/monsters/monster/mage.qc @@ -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;