Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6279


Ignore:
Timestamp:
Dec 9, 2009, 10:43:17 AM (15 years ago)
Author:
scheusso
Message:

overlay fix in NHC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/orxonox/controllers/NewHumanController.cc

    r6256 r6279  
    163163            if( this->controllableEntity_ && !this->controllableEntity_->isInMouseLook() )
    164164            {
     165                if (this->getControllableEntity() && this->getControllableEntity()->getIdentifier()->getName() == "SpaceShip")
     166                    this->showOverlays();
    165167                this->updateTarget();
    166168                if ( !controlPaused_ ) {
     
    176178                }
    177179            }
     180            else
     181                this->hideOverlays();
    178182
    179183            if ( this->acceleration_ > 0 )
Note: See TracChangeset for help on using the changeset viewer.