diff options
author | megamage <none@none> | 2009-01-04 16:45:32 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-01-04 16:45:32 -0600 |
commit | 13cfff2327247c20ec4c0bcc51fa8cfb2594daff (patch) | |
tree | 5fc4dd45436c78a912218bdd7027e01eb8943e2d /src/game/Unit.h | |
parent | 2d319dd5b41c12f50250c006cca66f0316b90dc2 (diff) |
*Mangos [7023] Remove not used useCharges for IsImmunedToSpell/IsImmunedToDamage. By DiSlord.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.h')
-rw-r--r-- | src/game/Unit.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h index 238490d9428..b5fa89e04b8 100644 --- a/src/game/Unit.h +++ b/src/game/Unit.h @@ -1381,9 +1381,9 @@ class TRINITY_DLL_SPEC Unit : public WorldObject void ApplySpellImmune(uint32 spellId, uint32 op, uint32 type, bool apply); void ApplySpellDispelImmunity(const SpellEntry * spellProto, DispelType type, bool apply); - virtual bool IsImmunedToSpell(SpellEntry const* spellInfo, bool useCharges = false); + virtual bool IsImmunedToSpell(SpellEntry const* spellInfo); // redefined in Creature - bool IsImmunedToDamage(SpellSchoolMask meleeSchoolMask, bool useCharges = false); + bool IsImmunedToDamage(SpellSchoolMask meleeSchoolMask); virtual bool IsImmunedToSpellEffect(uint32 effect, uint32 mechanic) const; // redefined in Creature |