aboutsummaryrefslogtreecommitdiff
path: root/src/game/ThreatManager.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2008-12-21 18:52:23 -0600
committermegamage <none@none>2008-12-21 18:52:23 -0600
commit409100869ca47996023af72df4a098740972638f (patch)
treeb49a932a5b2cee22b760e72fa44b58e5bea518c0 /src/game/ThreatManager.cpp
parent2d2f6f6785c8114f82c329f53afa443a489c4f82 (diff)
*Creatures no longer prioritize attacking unfeared targets over feared targets. By Tassader2.
--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 b9711b8a2e7..58423794154 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 | UNIT_STAT_FLEEING)
+ target->hasUnitState(UNIT_STAT_CONFUSED)
) )
{
// current victim is a second choice target, so don't compare threat with it below