diff options
author | megamage <none@none> | 2008-12-21 18:52:23 -0600 |
---|---|---|
committer | megamage <none@none> | 2008-12-21 18:52:23 -0600 |
commit | 409100869ca47996023af72df4a098740972638f (patch) | |
tree | b49a932a5b2cee22b760e72fa44b58e5bea518c0 /src/game/ThreatManager.cpp | |
parent | 2d2f6f6785c8114f82c329f53afa443a489c4f82 (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.cpp | 2 |
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 |