- Timestamp:
- Jan 17, 2016, 1:59:00 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v3/src/orxonox/controllers/FlyingController.cc
r11052 r11065 61 61 } 62 62 63 void FlyingController::setFormationModeXML( std::stringval)63 void FlyingController::setFormationModeXML(const std::string& val) 64 64 { 65 65 const std::string valUpper = getUppercase(val); 66 FormationMode ::Valuevalue;66 FormationMode value; 67 67 68 68 if (valUpper == "WALL") … … 233 233 return; 234 234 SpaceShip* ship = orxonox_cast<SpaceShip*>(this->getControllableEntity()); 235 if(ship == NULL) return;235 if(ship == nullptr) return; 236 236 if(ship->getBoostPower()*1.5f > ship->getInitialBoostPower()) //upper limit ->boost 237 237 {
Note: See TracChangeset
for help on using the changeset viewer.