*Fix the bug that swiftmend does not remove HOT buff.

--HG--
branch : trunk
This commit is contained in:
megamage
2008-12-13 14:49:20 -06:00
parent 6afc71727c
commit 29f92cbd90
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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)
{
+1 -1
View File
@@ -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);