Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 17, 2007, 4:14:41 PM (17 years ago)
Author:
marcscha
Message:

Fixes and cleanups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/playability/src/world_entities/particles/emitter_node.cc

    r10107 r10261  
    3434  this->registerObject(this, EmitterNode::_objectList);
    3535
    36   this->toList(OM_DEAD_TICK);
     36  this->toList(OM_ENVIRON);
    3737
    3838  this->system = NULL;
     
    8787  if( this->lifeCycle >= 1.0f)
    8888  {
    89     this->removeNode();
    90     this->emitter->stop();
     89//   this->removeNode();
     90 //   this->emitter->stop();
    9191    this->emitter->setSystem(NULL);
    9292    this->started = false;
     93    this->toList(OM_NULL);
    9394
    94     this->destroy( NULL );
     95//    this->destroy( NULL );
    9596  }
    9697  this->shiftCoor(this->velocity * dt);
Note: See TracChangeset for help on using the changeset viewer.