diff options
Diffstat (limited to 'src/game/ReactorAI.cpp')
-rw-r--r-- | src/game/ReactorAI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/ReactorAI.cpp b/src/game/ReactorAI.cpp index 9d596751075..dd796b74f38 100644 --- a/src/game/ReactorAI.cpp +++ b/src/game/ReactorAI.cpp @@ -76,7 +76,7 @@ ReactorAI::UpdateAI(const uint32 /*time_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(); |