diff options
author | megamage <none@none> | 2008-11-26 11:41:03 -0600 |
---|---|---|
committer | megamage <none@none> | 2008-11-26 11:41:03 -0600 |
commit | 77b753b45260b24f846d51c5527c90fffd1cf3d5 (patch) | |
tree | f0fdd06ee0810584606af757be037cb980e3ecfa /src/game/Creature.cpp | |
parent | 9e3c9124f2b63e048e7a62a44c1ea36249e9a85a (diff) |
*Fix the bug that neutral creatures do not fight back.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Creature.cpp')
-rw-r--r-- | src/game/Creature.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp index 623b13f9dd2..94aa3c2151c 100644 --- a/src/game/Creature.cpp +++ b/src/game/Creature.cpp @@ -1576,7 +1576,7 @@ bool Creature::canStartAttack(Unit const* who) const || !IsWithinDistInMap(who, GetAttackDistance(who))) return false; - if(!canAttack(who)) + if(!canAttack(who, false)) return false; return IsWithinLOSInMap(who); |