Changeset 156 for trunk/src/game/PetAI.cpp
- Timestamp:
- 11/19/08 13:41:28 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/PetAI.cpp
r135 r156 165 165 } 166 166 // not required to be stopped case 167 else if( i_pet.isAttackReady() && i_pet. canReachWithAttack(i_pet.getVictim()) )167 else if( i_pet.isAttackReady() && i_pet.IsWithinCombatDist(i_pet.getVictim(), ATTACK_DISTANCE) ) 168 168 { 169 169 i_pet.AttackerStateUpdate(i_pet.getVictim());