Changeset 9162 in orxonox.OLD for branches/presentation/src/world_entities/projectiles/laser.cc
- Timestamp:
- Jul 4, 2006, 6:15:10 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/projectiles/laser.cc
r9061 r9162 107 107 { 108 108 if (this->hitEntity != entity && entity->isA(CL_NPC)) 109 this->destroy( );109 this->destroy( entity ); 110 110 this->hitEntity = entity; 111 111 } … … 128 128 * the function gets called, when the projectile is destroyed 129 129 */ 130 void Laser::destroy ( )130 void Laser::destroy (WorldEntity* killer) 131 131 { 132 Projectile::destroy( );132 Projectile::destroy( killer ); 133 133 PRINTF(5)("DESTROY Laser\n"); 134 134 this->lifeCycle = .95; //!< @todo calculate this usefully.
Note: See TracChangeset
for help on using the changeset viewer.