Changeset 6142 in orxonox.OLD for trunk/src/world_entities/weapons/rocket.cc
- Timestamp:
- Dec 16, 2005, 7:13:57 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/rocket.cc
r6056 r6142 82 82 void Rocket::activate() 83 83 { 84 State::getWorldEntityList()->add(this);85 84 if (unlikely(Rocket::trailParticles == NULL)) 86 85 { … … 125 124 ParticleEngine::getInstance()->breakConnections(this->emitter); 126 125 this->lifeCycle = 0.0; 126 this->toList(OM_NULL); 127 127 128 128 // GarbageCollector::getInstance()->collect(this); 129 State::getWorldEntityList()->remove(this);129 this->toList(OM_DEAD); 130 130 Rocket::fastFactory->kill(this); 131 131 }
Note: See TracChangeset
for help on using the changeset viewer.