Changeset 8579 for code/branches/presentation/src/orxonox/items/Engine.cc
- Timestamp:
- May 25, 2011, 9:28:29 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/orxonox/items/Engine.cc
r8578 r8579 204 204 this->ship_->setAcceleration(this->ship_->getOrientation() * (acceleration*this->getSpeedMultiply()+Vector3(0,0,-this->getSpeedAdd()))); 205 205 206 if (!this->ship_->getPermanentBoost()) 207 this->ship_->setBoost(false); 206 208 this->ship_->setSteeringDirection(Vector3::ZERO); 207 209
Note: See TracChangeset
for help on using the changeset viewer.