aboutsummaryrefslogtreecommitdiff
path: root/src/game/ThreatManager.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2008-12-30 16:03:36 -0600
committermegamage <none@none>2008-12-30 16:03:36 -0600
commit3d1d45405546062357c019f0164f8529552fd060 (patch)
treeabd14ea0c0b4cc497facbd8b4382ad5f154f3306 /src/game/ThreatManager.cpp
parent5a5274d21fbe19713e8e2c473082627299633a99 (diff)
*Update to Mangos 6989.
--HG-- branch : trunk
Diffstat (limited to 'src/game/ThreatManager.cpp')
-rw-r--r--src/game/ThreatManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/ThreatManager.cpp b/src/game/ThreatManager.cpp
index 58423794154..e824223eb2d 100644
--- a/src/game/ThreatManager.cpp
+++ b/src/game/ThreatManager.cpp
@@ -280,7 +280,7 @@ HostilReference* ThreatContainer::selectNextVictim(Creature* pAttacker, HostilRe
// some units are preferred in comparison to others
if(iter != lastRef && (target->IsImmunedToDamage(pAttacker->GetMeleeDamageSchoolMask(), false) ||
- target->hasUnitState(UNIT_STAT_CONFUSED)
+ target->hasNegativeAuraWithInterruptFlag(AURA_INTERRUPT_FLAG_DAMAGE)
) )
{
// current victim is a second choice target, so don't compare threat with it below