Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 21, 2009, 4:06:50 PM (15 years ago)
Author:
scheusso
Message:

fixed a logical error in OverlayGroup/OrxonoxOverlay (visibility of overlays in a overlaygroup could not be configured individually)
changed Scoreboard/CreateLines accordingly
set initial visibility of QuestGUI to false

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/overlays/GUIOverlay.cc

    r5978 r5980  
    6262    {
    6363        SUPER(GUIOverlay, changedVisibility);
    64 
     64       
    6565        //Setting player now.
    66         GUIManager::getInstance().setPlayer(this->guiName_, (orxonox_cast<ControllableEntity*>(this->getOwner()))->getPlayer());
     66        if( this->getOwner() )
     67            GUIManager::getInstance().setPlayer(this->guiName_, (orxonox_cast<ControllableEntity*>(this->getOwner()))->getPlayer());
    6768
    6869        if (this->isVisible())
Note: See TracChangeset for help on using the changeset viewer.