Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Dec 11, 2005, 6:23:42 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: multiple new Reparenting modes in PNode.
Testing the stuff in GuidedMissile
Projectile has a PNode as reference not as pointer
some minor weapon changes

File:
1 edited

Legend:

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

    r6034 r6054  
    145145  // erease everything that is left.
    146146  delete NullParent::getInstance();
     147
     148  //secondary cleanup of PNodes;
     149  const std::list<BaseObject*>* nodeList = ClassList::getList(CL_PARENT_NODE);
     150  if (nodeList != NULL)
     151    while (!nodeList->empty())
     152      delete nodeList->front();
    147153
    148154  Shader::suspendShader();
Note: See TracChangeset for help on using the changeset viewer.