aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.h
diff options
context:
space:
mode:
authorQAston <none@none>2010-01-10 12:08:58 +0100
committerQAston <none@none>2010-01-10 12:08:58 +0100
commite3ff6145eec7e72299d4223714e98048643c5c75 (patch)
treed14c33aac335e9fa15122c67ea8a65323fd2639f /src/game/Unit.h
parent6cbe65eaa3391a5b524583b18b4dace03b8dcb2c (diff)
* Use pair<uint32, uint64> lists instead of <Aura*> lists in Dispel/SpellSteal effects handlers (prevent reference to aura removed from unit)
* Correctly fill EffectStealBeneficialBuff list with Stackable/Chargeable auras --HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.h')
-rw-r--r--src/game/Unit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h
index 5507335d848..3cd964e583c 100644
--- a/src/game/Unit.h
+++ b/src/game/Unit.h
@@ -1562,8 +1562,8 @@ class TRINITY_DLL_SPEC Unit : public WorldObject
void RemoveAurasDueToSpell(uint32 spellId, uint64 caster = NULL, uint8 reqEffMask = 0, AuraRemoveMode removeMode = AURA_REMOVE_BY_DEFAULT);
void RemoveAuraFromStack(uint32 spellId, uint64 caster = NULL, AuraRemoveMode removeMode = AURA_REMOVE_BY_DEFAULT);
inline void RemoveAuraFromStack(AuraMap::iterator &iter,AuraRemoveMode removeMode);
- void RemoveAurasDueToSpellByDispel(Aura * aura, Unit *dispeller);
- void RemoveAurasDueToSpellBySteal(Aura * aura, Unit *stealer);
+ void RemoveAurasDueToSpellByDispel(uint32 spellId, uint64 casterGUID, Unit *dispeller);
+ void RemoveAurasDueToSpellBySteal(uint32 spellId, uint64 casterGUID, Unit *stealer);
void RemoveAurasDueToItemSpell(Item* castItem,uint32 spellId);
void RemoveAurasByType(AuraType auraType, uint64 casterGUID = 0, Aura * except = NULL, bool negative = true, bool positive = true);
void RemoveNotOwnSingleTargetAuras(uint32 newPhase = 0x0);