Core/Spells: Allow AoE spells to target dead units.

Also removes some unneeded checks from ally targeting.

--HG--
branch : trunk
This commit is contained in:
linencloth
2010-09-15 06:33:38 +02:00
parent ec5edaf6bf
commit a582ab9d9d
4 changed files with 16 additions and 8 deletions
+1 -1
View File
@@ -1413,7 +1413,7 @@ class Unit : public WorldObject
bool isFrozen() const;
bool isTargetableForAttack() const;
bool isAttackableByAOE() const;
bool isAttackableByAOE(bool requireDeadTarget = false) const;
bool canAttack(Unit const* target, bool force = true) const;
virtual bool IsInWater() const;
virtual bool IsUnderWater() const;