aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegamage <none@none>2008-12-13 14:49:20 -0600
committermegamage <none@none>2008-12-13 14:49:20 -0600
commit29f92cbd902eb08fb0f0ffa08c5dfa58c3776df7 (patch)
treec0d23872ef7de7943a35c157b43890edb98714fc
parent6afc71727c4c1f2a23de8e017965cf10e8f18ed5 (diff)
*Fix the bug that swiftmend does not remove HOT buff.
--HG-- branch : trunk
-rw-r--r--src/game/Unit.cpp2
-rw-r--r--src/game/Unit.h2
2 files changed, 2 insertions, 2 deletions
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);