]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/monsters/monster/mage.qc
Merge branch 'master' into TimePath/issues/1490
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / monsters / monster / mage.qc
index bbf9ddb1c84422d7c4566d29824a6b05186b9087..02f37c890ac44e68f9f8249f1fcf766f6ffac34d 100644 (file)
@@ -68,7 +68,7 @@ float friend_needshelp(entity e)
                return false;
        if(!IS_PLAYER(e))
                return ((e.flags & FL_MONSTER) && e.health < e.max_health);
-       if(e.items & IT_INVINCIBLE)
+       if(e.items & ITEM_Shield.m_itemid)
                return false;
 
        switch(self.skin)