Changeset 5980 for code/trunk/src/modules/overlays/GUIOverlay.cc
- Timestamp:
- Oct 21, 2009, 4:06:50 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/overlays/GUIOverlay.cc
r5978 r5980 62 62 { 63 63 SUPER(GUIOverlay, changedVisibility); 64 64 65 65 //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()); 67 68 68 69 if (this->isVisible())
Note: See TracChangeset
for help on using the changeset viewer.