Changeset 186 for trunk/src/game/OutdoorPvPObjectiveAI.cpp
- Timestamp:
- 11/19/08 13:44:25 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/OutdoorPvPObjectiveAI.cpp
r178 r186 35 35 // IsVisible only passes for players in range, so no need to check again 36 36 // leaving/entering distance will be checked based on go range data 37 sOutdoorPvPMgr.HandleCaptureCreaturePlayerMoveInLos(((Player*)u),&i_creature); 37 if((u->GetTypeId() == TYPEID_PLAYER) && i_creature.IsWithinDistInMap(u, MAX_OUTDOOR_PVP_DISTANCE)) 38 sOutdoorPvPMgr.HandleCaptureCreaturePlayerMoveInLos(((Player*)u),&i_creature); 38 39 } 39 40