diff options
Diffstat (limited to 'src/game/Creature.cpp')
-rw-r--r-- | src/game/Creature.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp index e2925ff9745..3f461599f60 100644 --- a/src/game/Creature.cpp +++ b/src/game/Creature.cpp @@ -2192,18 +2192,10 @@ bool Creature::_IsTargetAcceptable(const Unit *target) const if (myVictim == target) return true; - // if I'm not aggressive, the target is not acceptable - if (((Creature*)this)->GetReactState() != REACT_AGGRESSIVE) - return false; - // if I'm hostile towards the target, the target is acceptable if (IsHostileTo(target)) return true; - // if the target is passive, the target is not acceptable - if (((Creature*)target)->GetReactState() == REACT_PASSIVE) - return false; - const Unit *targetVictim = target->getAttackerForHelper(); // if the target does not have a victim, the target is not acceptable |