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