Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 16, 2005, 5:16:00 PM (20 years ago)
Author:
bensch
Message:

om: disected the old worldEntity list out.
removed GarbageCollector
minor updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/objectmanager/src/world_entities/weapons/guided_missile.cc

    r6126 r6134  
    8585void GuidedMissile::activate()
    8686{
    87   State::getWorldEntityList()->add(this);
    8887  if (unlikely(GuidedMissile::trailParticles == NULL))
    8988  {
     
    129128  this->lifeCycle = 0.0;
    130129
    131   this->toList(OM_NULL);
    132 //  GarbageCollector::getInstance()->collect(this);
    133   State::getWorldEntityList()->remove(this);
     130  this->toList(OM_DEAD);
    134131  this->removeNode();
    135132  GuidedMissile::fastFactory->kill(this);
Note: See TracChangeset for help on using the changeset viewer.