From 29f92cbd902eb08fb0f0ffa08c5dfa58c3776df7 Mon Sep 17 00:00:00 2001 From: megamage Date: Sat, 13 Dec 2008 14:49:20 -0600 Subject: *Fix the bug that swiftmend does not remove HOT buff. --HG-- branch : trunk --- src/game/Unit.cpp | 2 +- src/game/Unit.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index bb72530490d..8bf2968fd40 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -4522,7 +4522,7 @@ void Unit::RemoveAurasDueToSpell(uint32 spellId, Aura* except) RemoveAura(spellId,i,except); } -void Unit::RemoveAurasDueToCasterSpell(uint64 guid, uint32 spellId) +void Unit::RemoveAurasDueToCasterSpell(uint32 spellId, uint64 guid) { for (int k=0; k < 3; ++k) { diff --git a/src/game/Unit.h b/src/game/Unit.h index 1679439198c..8db6f288ce7 100644 --- a/src/game/Unit.h +++ b/src/game/Unit.h @@ -1107,7 +1107,7 @@ class TRINITY_DLL_SPEC Unit : public WorldObject void RemoveSingleAuraFromStack(uint32 spellId, uint32 effindex); void RemoveAurasDueToSpell(uint32 spellId, Aura* except = NULL); void RemoveAurasDueToItemSpell(Item* castItem,uint32 spellId); - void RemoveAurasDueToCasterSpell(uint64 guid, uint32 spellId); + void RemoveAurasDueToCasterSpell(uint32 spellId, uint64 guid); void RemoveAurasDueToSpellByDispel(uint32 spellId, uint64 casterGUID, Unit *dispeler); void RemoveAurasDueToSpellBySteal(uint32 spellId, uint64 casterGUID, Unit *stealer); void RemoveAurasDueToSpellByCancel(uint32 spellId); -- cgit v1.2.3