Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 19, 2006, 4:08:04 PM (17 years ago)
Author:
marcscha
Message:

addition of local travel speed, removal of path hacks

File:
1 edited

Legend:

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

    r10078 r10098  
    7373
    7474  this->lifeCycle += dt/this->lifeSpan;
    75   if  (unlikely(this->lifeCycle >= 1))
     75  if  (this->lifeCycle >= 1)
    7676  {
    7777    this->removeNode();
     78    this->hide();
     79    this->system->removeEmitter(this->emitter);
     80    this->emitter->stop();
     81    this->emitter->setSystem(NULL);
     82    this->started = false;
    7883  }
    7984  PRINTF(0)("Coordinate Update EmitterNode: (%f,%f,%f) -> (%f,%f,%f)\n",this->getAbsCoor().x,this->getAbsCoor().y,this->getAbsCoor().z,this->velocity.x,this->velocity.y,this->velocity.z);
Note: See TracChangeset for help on using the changeset viewer.