Core/Auras: Implemented AURA_INTERRUPT_FLAG_LEAVE_COMBAT

(cherry picked from commit d621023192a6480aa0f338908a353002fc6accf1)
This commit is contained in:
Shauren authored and Aokromes committed 2016-05-12 09:19:01 +02:00
1 parent fb87f7d445
commit f6824d1207
2 files changed
+2

No files matched your search

+1
View File
@@ -10382,6 +10382,7 @@ void Unit::ClearInCombat()
ToPlayer()->UpdatePotionCooldown();
RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_PET_IN_COMBAT);
RemoveAurasWithInterruptFlags(AURA_INTERRUPT_FLAG_LEAVE_COMBAT);
}
bool Unit::isTargetableForAttack(bool checkFakeDeath) const