diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Unit.cpp | 2 | ||||
-rw-r--r-- | src/game/Unit.h | 2 |
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); |