Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 15, 2005, 1:34:32 AM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: packing the first entities into their lists

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/objectmanager/src/story_entities/world.cc

    r6120 r6121  
    141141  SoundEngine::getInstance()->flushAllSources();
    142142
    143   delete ObjectManager::getInstance();
     143  if (State::getObjectManager() == &this->objectManager)
     144    State::setObjectManager(NULL);
    144145  // erease everything that is left.
    145146  delete PNode::getNullParent();
     
    214215ErrorMessage World::preLoad()
    215216{
     217  State::setObjectManager(&this->objectManager);
    216218  State::setWorldEntityList(this->entities = new tList<WorldEntity>());
    217219  this->cycle = 0;
Note: See TracChangeset for help on using the changeset viewer.