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/laser.cc

    r6123 r6134  
    7777void Laser::activate()
    7878{
    79   State::getWorldEntityList()->add(this);
    8079  if (unlikely(Laser::explosionParticles == NULL))
    8180  {
     
    9998  this->toList(OM_NULL);
    10099
    101   State::getWorldEntityList()->remove(this);
     100  this->toList(OM_DEAD);
    102101  this->removeNode();
    103102  Laser::fastFactory->kill(this);
Note: See TracChangeset for help on using the changeset viewer.