Changeset 9235 in orxonox.OLD for trunk/src/world_entities/projectiles/projectile.cc
- Timestamp:
- Jul 5, 2006, 4:39:02 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/projectiles/projectile.cc
r8362 r9235 41 41 /* character attributes */ 42 42 this->setHealth(1.0f); 43 this->setDamage(1 00.0f); // default damage of a projectile set to 100.0 damage points43 this->setDamage(1.0f); // default damage of a projectile set to 100.0 damage points 44 44 45 45 this->explosionBuffer = NULL; … … 162 162 163 163 if (this->tickLifeCycle(dt)) 164 this->destroy( );164 this->destroy( NULL ); 165 165 } 166 166 … … 169 169 * the function gets called, when the projectile is destroyed 170 170 */ 171 void Projectile::destroy ( )171 void Projectile::destroy (WorldEntity* killer) 172 172 { 173 173 if (this->explosionBuffer != NULL)
Note: See TracChangeset
for help on using the changeset viewer.