- Timestamp:
- Jul 27, 2011, 9:21:29 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ai2/src/orxonox/controllers/ArtificialController.cc
r8791 r8792 105 105 {//Vector-implementation: mode_.erase(mode_.begin(),mode_.end()); 106 106 for (size_t i = 0; i < this->waypoints_.size(); ++i) 107 this->waypoints_[i]->destroy(); 107 { 108 if(this->waypoints_[i]) 109 this->waypoints_[i]->destroy(); 110 } 111 //this->waypoints_.clear(); 108 112 this->removeFromFormation(); 109 113 this->weaponModes_.clear(); … … 1196 1200 { 1197 1201 if(!defaultWaypoint_) 1198 this->updatePointsOfInterest("PickupSpawner", 60.0f); // long search radius if there is no default goal1202 this->updatePointsOfInterest("PickupSpawner", 200.0f); // long search radius if there is no default goal 1199 1203 else 1200 1204 this->updatePointsOfInterest("PickupSpawner", 20.0f); // take pickup en passant if there is a default waypoint
Note: See TracChangeset
for help on using the changeset viewer.