Changeset 9265 for code/trunk/src/orxonox
- Timestamp:
- Jun 3, 2012, 10:14:18 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/controllers/FormationController.cc
r9256 r9265 255 255 void FormationController::hit(Pawn* originator, btManifoldPoint& contactpoint, float damage) 256 256 { 257 if (!this->formationFlight_ || this->state_!=MASTER || this->formationMode_!=DEFEND) return; 258 this->masterAttacked(originator); 257 if (!this->formationFlight_ || this->state_ != MASTER || this->formationMode_ != DEFEND) 258 return; 259 this->masterAttacked(originator); 259 260 } 260 261
Note: See TracChangeset
for help on using the changeset viewer.