Changeset 229 for trunk/src/game/PetAI.cpp
- Timestamp:
- 11/19/08 13:48:34 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/PetAI.cpp
r191 r229 50 50 i_pet.GetCharmInfo()->HasReactState(REACT_AGGRESSIVE) && 51 51 i_pet.IsHostileTo( u ) && i_pet.canAttack(u) && 52 u->isInAccess ablePlaceFor(&i_pet))52 u->isInAccessiblePlaceFor(&i_pet)) 53 53 { 54 54 float attackRadius = i_pet.GetAttackDistance(u);