Changeset 5512 in orxonox.OLD for trunk/src/world_entities/weapons
- Timestamp:
- Nov 8, 2005, 11:54:25 PM (19 years ago)
- Location:
- trunk/src/world_entities/weapons
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/laser.cc
r5511 r5512 39 39 Laser::Laser () : Projectile() 40 40 { 41 this->setClassID(CL_ TEST_BULLET, "Laser");41 this->setClassID(CL_LASER, "Laser"); 42 42 43 43 float modelSize = .3; … … 65 65 66 66 /* this is normaly done by World.cc by deleting the ParticleEngine */ 67 if (Laser::explosionParticles != NULL && ClassList::getList(CL_ TEST_BULLET)->getSize() <= 1)67 if (Laser::explosionParticles != NULL && ClassList::getList(CL_LASER)->getSize() <= 1) 68 68 { 69 if (ClassList::exists(Laser::explosionParticles, CL_PARTICLE_SYSTEM)) 70 delete Laser::explosionParticles; 69 //if (ClassList::exists(Laser::explosionParticles, CL_PARTICLE_SYSTEM)) 70 // delete Laser::explosionParticles; 71 PRINTF(1)("Deleting Laser Particles\n"); 71 72 Laser::explosionParticles = NULL; 72 73 } -
trunk/src/world_entities/weapons/turret.cc
r5511 r5512 21 21 22 22 #include "model.h" 23 #include "p_node.h"24 23 25 24 #include "null_parent.h"
Note: See TracChangeset
for help on using the changeset viewer.