Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6863 in orxonox.OLD for trunk/src/story_entities


Ignore:
Timestamp:
Jan 30, 2006, 11:42:44 AM (19 years ago)
Author:
patrick
Message:

trunk: fixed the segfault problem, when restarting world

File:
1 edited

Legend:

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

    r6834 r6863  
    266266    delete this->objectManager;
    267267  }
     268
    268269  if(State::getSkyBox())
    269270    State::setSkyBox(NULL);
     271
     272  glmis = NULL;
     273  localCamera = NULL;
     274  localPlayer = NULL;
     275  sky = NULL;
     276  terrain = NULL;
     277  music = NULL;
     278  objectManager = NULL;
    270279}
    271280
Note: See TracChangeset for help on using the changeset viewer.