Changeset 6627 in orxonox.OLD for trunk/src/world_entities
- Timestamp:
- Jan 20, 2006, 2:43:55 AM (19 years ago)
- Location:
- trunk/src/world_entities/projectiles
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/projectiles/guided_missile.cc
r6622 r6627 60 60 61 61 /* this is normaly done by World.cc by deleting the ParticleEngine */ 62 if (GuidedMissile::trailParticles != NULL && ClassList::getList(CL_ TEST_BULLET)->size() <= 1)62 if (GuidedMissile::trailParticles != NULL && ClassList::getList(CL_GUIDED_MISSILE)->size() <= 1) 63 63 { 64 64 if (ClassList::exists(GuidedMissile::trailParticles, CL_PARTICLE_SYSTEM)) … … 66 66 GuidedMissile::trailParticles = NULL; 67 67 } 68 if (GuidedMissile::explosionParticles != NULL && ClassList::getList(CL_ TEST_BULLET)->size() <= 1)68 if (GuidedMissile::explosionParticles != NULL && ClassList::getList(CL_GUIDED_MISSILE)->size() <= 1) 69 69 { 70 70 if (ClassList::exists(GuidedMissile::explosionParticles, CL_PARTICLE_SYSTEM)) -
trunk/src/world_entities/projectiles/rocket.cc
r6622 r6627 59 59 60 60 /* this is normaly done by World.cc by deleting the ParticleEngine */ 61 if (Rocket::trailParticles != NULL && ClassList::getList(CL_ TEST_BULLET)->size() <= 1)61 if (Rocket::trailParticles != NULL && ClassList::getList(CL_ROCKET)->size() <= 1) 62 62 { 63 63 if (ClassList::exists(Rocket::trailParticles, CL_PARTICLE_SYSTEM)) … … 65 65 Rocket::trailParticles = NULL; 66 66 } 67 if (Rocket::explosionParticles != NULL && ClassList::getList(CL_ TEST_BULLET)->size() <= 1)67 if (Rocket::explosionParticles != NULL && ClassList::getList(CL_ROCKET)->size() <= 1) 68 68 { 69 69 if (ClassList::exists(Rocket::explosionParticles, CL_PARTICLE_SYSTEM))
Note: See TracChangeset
for help on using the changeset viewer.