Changeset 9162 in orxonox.OLD for branches/presentation/src/world_entities/projectiles/guided_missile.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/guided_missile.cc
r8362 r9162 135 135 { 136 136 if (this->hitEntity != entity) 137 this->destroy( );137 this->destroy( entity ); 138 138 this->hitEntity = entity; 139 139 } … … 180 180 * the function gets called, when the projectile is destroyed 181 181 */ 182 void GuidedMissile::destroy ( )183 { 184 Projectile::destroy( );182 void GuidedMissile::destroy (WorldEntity* killer) 183 { 184 Projectile::destroy( killer ); 185 185 PRINTF(5)("DESTROY GuidedMissile\n"); 186 186 this->lifeCycle = .95; //!< @todo calculate this usefully.
Note: See TracChangeset
for help on using the changeset viewer.