Changeset 9256 for code/trunk/src/orxonox/controllers/HumanController.cc
- Timestamp:
- May 28, 2012, 9:06:02 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/controllers/HumanController.cc
r9016 r9256 85 85 HumanController::~HumanController() 86 86 { 87 if (HumanController::localController_s) 87 if (HumanController::localController_s) 88 88 { 89 89 HumanController::localController_s->removeFromFormation(); … … 197 197 HumanController::localController_s->keepBoosting(); 198 198 } 199 199 200 200 /** 201 201 @brief … … 302 302 orxout(message) <<"FormationFlight enabled "<< endl; 303 303 } 304 304 305 305 } 306 306 … … 332 332 } 333 333 334 335 //used, when slaves are in DEFEND mode.336 void HumanController::hit(Pawn* originator, btManifoldPoint& contactpoint, float damage)337 {338 if (!this->formationFlight_ || this->state_!=MASTER || this->formationMode_!=DEFEND) return;339 this->masterAttacked(originator);340 }341 342 334 void HumanController::addBots(unsigned int amount) 343 335 {
Note: See TracChangeset
for help on using the changeset viewer.