Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5302 in orxonox.OLD for trunk/src/world_entities/world_entity.cc


Ignore:
Timestamp:
Oct 7, 2005, 2:28:45 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: fixed bug in SkyShphere, doubly deleted Model

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/world_entity.cc

    r5300 r5302  
    5555{
    5656  // if( collisioncluster != NULL) delete collisioncluster;
    57   if (this->model)
     57  if (likely(this->model != NULL))
    5858    ResourceManager::getInstance()->unload(this->model);
    59   if( this->obbTree)
     59  if( this->obbTree != NULL)
    6060    delete this->obbTree;
    6161}
Note: See TracChangeset for help on using the changeset viewer.