Changeset 6888 for code/branches/ai/src/orxonox/controllers/AIController.cc
- Timestamp:
- May 10, 2010, 4:32:26 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ai/src/orxonox/controllers/AIController.cc
r6850 r6888 127 127 128 128 // lose master status (only if less than 4 slaves in formation) 129 random = rnd(maxrand);130 if(random < 15/(this->slaves_.size()+1) && this->slaves_.size() < 5)131 this->loseMasterState();129 // random = rnd(maxrand); 130 // if(random < 15/(this->slaves_.size()+1) && this->slaves_.size() < 4 ) 131 // this->loseMasterState(); 132 132 133 133 // look out for outher masters if formation is small … … 167 167 { 168 168 this->bShooting_ = true; 169 this->forceFreeSlaves();169 // this->forceFreeSlaves(); 170 170 } 171 171 // stop shooting
Note: See TracChangeset
for help on using the changeset viewer.