Changeset 265 for trunk/src/game/Unit.cpp
- Timestamp:
- 11/21/08 08:48:46 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/Unit.cpp
r264 r265 8492 8492 target->SetStandState(PLAYER_STATE_NONE); 8493 8493 8494 if(!target->isInCombat() && target->GetTypeId() != TYPEID_PLAYER && ((Creature*)target)->AI()) 8494 if(!target->isInCombat() && target->GetTypeId() != TYPEID_PLAYER 8495 && ((Creature*)target)->isAggressive() && ((Creature*)target)->AI()) 8495 8496 ((Creature*)target)->AI()->AttackStart(this); 8496 8497