Changeset 6883 for code/branches/fps/src
- Timestamp:
- May 10, 2010, 4:17:20 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/fps/src/orxonox/controllers/NewHumanController.cc
r6866 r6883 210 210 if (!controlPaused_ ) 211 211 { 212 if (this->getControllableEntity() && (this->getControllableEntity()->isExactlyA(ClassByString("SpaceShip")) || this->getControllableEntity()->isExactlyA(ClassByString("Rocket")) || this->getControllableEntity()->isExactlyA(ClassByString("FpsPlayer")))) 213 this->showOverlays(); 212 if (this->getControllableEntity() && (this->getControllableEntity()->isExactlyA(ClassByString("SpaceShip")) || this->getControllableEntity()->isExactlyA(ClassByString("Rocket")))) 213 {this->showOverlays();} 214 215 if (this->getControllableEntity() && this->getControllableEntity()->isExactlyA(ClassByString("FpsPlayer")))\ 216 {this->showOverlays(); 217 this->hideArrows();} 214 218 215 219 this->crossHairOverlay_->setPosition(Vector2(static_cast<float>(this->currentYaw_)/2*-1+.5f-overlaySize_/2, static_cast<float>(this->currentPitch_)/2*-1+.5f-overlaySize_/2)); … … 460 464 if (this->getControllableEntity() && (this->getControllableEntity()->isExactlyA(ClassByString("SpaceShip")) || this->getControllableEntity()->isExactlyA(ClassByString("Rocket")))) 461 465 { 466 462 467 this->showOverlays_ = true; 463 468 if (!this->controlPaused_)
Note: See TracChangeset
for help on using the changeset viewer.