Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5355 in orxonox.OLD for trunk/src/story_entities/world.cc


Ignore:
Timestamp:
Oct 10, 2005, 7:47:42 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: some build-efficiency-issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/story_entities/world.cc

    r5347 r5355  
    386386  TrackManager::getInstance()->condition(1, LEFTRIGHT, this->localPlayer);
    387387
    388   this->sky->setParent(this->localCamera);
    389   this->sky->setParentMode(PNODE_MOVEMENT);
     388  if (sky != NULL)
     389  {
     390    this->sky->setParent(this->localCamera);
     391    this->sky->setParentMode(PNODE_MOVEMENT);
     392  }
    390393
    391394  // initialize debug coord system
Note: See TracChangeset for help on using the changeset viewer.