Changeset 6134 in orxonox.OLD for branches/objectmanager/src/world_entities/weapons/rocket.cc
- Timestamp:
- Dec 16, 2005, 5:16:00 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/objectmanager/src/world_entities/weapons/rocket.cc
r6123 r6134 82 82 void Rocket::activate() 83 83 { 84 State::getWorldEntityList()->add(this);85 84 if (unlikely(Rocket::trailParticles == NULL)) 86 85 { … … 128 127 129 128 // GarbageCollector::getInstance()->collect(this); 130 State::getWorldEntityList()->remove(this);129 this->toList(OM_DEAD); 131 130 Rocket::fastFactory->kill(this); 132 131 }
Note: See TracChangeset
for help on using the changeset viewer.