Changeset 6112 for code/branches/presentation2/src/orxonox/controllers
- Timestamp:
- Nov 21, 2009, 12:57:06 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/orxonox/controllers/NewHumanController.cc
r6111 r6112 81 81 void NewHumanController::tick(float dt) 82 82 { 83 if( !this->controllableEntity_->isInMouseLook() )83 if( this->controllableEntity_ && !this->controllableEntity_->isInMouseLook() ) 84 84 { 85 85 this->crossHairOverlay_->setPosition(Vector2(static_cast<float>(this->currentYaw_)/2*-1+.5-overlaySize_/2, static_cast<float>(this->currentPitch_)/2*-1+.5-overlaySize_/2)); … … 185 185 pawn->setTarget( 0 ); 186 186 } 187 188 //return mouseRay.getOrigin() + mouseRay.getDirection() * 1200;189 187 190 188
Note: See TracChangeset
for help on using the changeset viewer.