- Timestamp:
- Jul 7, 2011, 3:59:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ai2/src/orxonox/controllers/AIController.cc
r8733 r8735 205 205 if (!this->isActive()) 206 206 return; 207 207 if(this->bDeathFlag_)//If a bot died recently, make him check his weaponsystem. 208 { 209 this->bSetupWorked = false; 210 this->numberOfWeapons = 0; 211 this->resetDeathFlag(); 212 } 208 213 float random; 209 214 float maxrand = 100.0f / ACTION_INTERVAL;
Note: See TracChangeset
for help on using the changeset viewer.