diff options
| author | megamage <none@none> | 2009-01-03 11:01:33 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2009-01-03 11:01:33 -0600 |
| commit | b70c57bbd6b69f5dacfc3c5355d8b61ab5762646 (patch) | |
| tree | 42bac2b454a4664dd6a94dc9520f90e01d3d4fd1 /src/game/Unit.h | |
| parent | 803a834b0d91adafe76e3ecbed9119d19ebe12f3 (diff) | |
*Mangos [7013] Rename recently added function for consistent with already existed. Use it for old cases. By VladimirMangos.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.h')
| -rw-r--r-- | src/game/Unit.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h index b015f166a8b..98a49e519ac 100644 --- a/src/game/Unit.h +++ b/src/game/Unit.h @@ -1012,7 +1012,10 @@ class TRINITY_DLL_SPEC Unit : public WorldObject bool HasAuraType(AuraType auraType) const; bool HasAura(uint32 spellId, uint32 effIndex) const - { return m_Auras.find(spellEffectPair(spellId, effIndex)) != m_Auras.end(); } + { + return m_Auras.find(spellEffectPair(spellId, effIndex)) != m_Auras.end(); + } + bool HasAura(uint32 spellId) const; bool virtual HasSpell(uint32 /*spellID*/) const { return false; } @@ -1312,7 +1315,6 @@ class TRINITY_DLL_SPEC Unit : public WorldObject uint8 GetVisibleAurasCount() { return m_visibleAuras.size(); } Aura* GetAura(uint32 spellId, uint32 effindex); - bool isAuraPresent(uint32 spellId); AuraMap & GetAuras() { return m_Auras; } AuraMap const& GetAuras() const { return m_Auras; } AuraList const& GetAurasByType(AuraType type) const { return m_modAuras[type]; } |
