Changeset 9162 in orxonox.OLD for branches/presentation/src/world_entities/projectiles/rocket.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/rocket.cc
r8362 r9162 128 128 { 129 129 if (this->hitEntity != entity) 130 this->destroy( );130 this->destroy( entity ); 131 131 this->hitEntity = entity; 132 132 } … … 149 149 * the function gets called, when the projectile is destroyed 150 150 */ 151 void Rocket::destroy ( )151 void Rocket::destroy (WorldEntity* killer) 152 152 { 153 Projectile::destroy( );153 Projectile::destroy( killer ); 154 154 155 155 PRINTF(5)("DESTROY Rocket\n");
Note: See TracChangeset
for help on using the changeset viewer.