*Update melee range calculation. By QAston.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2008-12-05 18:39:31 -06:00
1 parent d36672cd7e
commit 3a1293ef18
34 files changed
+93 -138

No files matched your search

+1 -1
View File
@@ -117,7 +117,7 @@ void GuardAI::UpdateAI(const uint32 /*diff*/)
if( i_creature.isAttackReady() )
{
if( i_creature.IsWithinCombatDist(i_creature.getVictim(), ATTACK_DISTANCE))
if( i_creature.IsWithinMeleeRange(i_creature.getVictim()))
{
i_creature.AttackerStateUpdate(i_creature.getVictim());
i_creature.resetAttackTimer();