diff options
author | QAston <none@none> | 2010-01-12 00:14:09 +0100 |
---|---|---|
committer | QAston <none@none> | 2010-01-12 00:14:09 +0100 |
commit | 758baae61b6cdce9588964cf44675b1c8ab9b4f8 (patch) | |
tree | 4c4023ffc0ad2dab71a976238877e8968917dd67 /src/game/Unit.h | |
parent | 3ddea83ffa0f5ec5f93b0e8af8a0fb5fcb6752eb (diff) |
*Make sure that any aura (in case of aura remove linked auras for example) won't survive Unit::RemoveAllAuras.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.h')
-rw-r--r-- | src/game/Unit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h index a3259aa2d1c..dba30f176f5 100644 --- a/src/game/Unit.h +++ b/src/game/Unit.h @@ -1545,7 +1545,7 @@ class TRINITY_DLL_SPEC Unit : public WorldObject AuraMap const& GetOwnedAuras() const { return m_ownedAuras; } void RemoveOwnedAura(AuraMap::iterator &i, AuraRemoveMode removeMode = AURA_REMOVE_BY_DEFAULT); - void RemoveOwnedAura(uint32 spellId, uint64 caster, uint8 reqEffMask = 0, AuraRemoveMode removeMode = AURA_REMOVE_BY_DEFAULT); + void RemoveOwnedAura(uint32 spellId, uint64 caster = 0, uint8 reqEffMask = 0, AuraRemoveMode removeMode = AURA_REMOVE_BY_DEFAULT); void RemoveOwnedAura(Aura * aura, AuraRemoveMode removeMode = AURA_REMOVE_BY_DEFAULT); Aura * GetOwnedAura(uint32 spellId, uint64 casterGUID = 0, uint8 reqEffMask = 0) const; |