Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 4, 2006, 6:15:10 PM (18 years ago)
Author:
rennerc
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/world_entities/projectiles/laser.cc

    r9061 r9162  
    107107{
    108108  if (this->hitEntity != entity && entity->isA(CL_NPC))
    109     this->destroy();
     109    this->destroy( entity );
    110110  this->hitEntity = entity;
    111111}
     
    128128 *  the function gets called, when the projectile is destroyed
    129129*/
    130 void Laser::destroy ()
     130void Laser::destroy (WorldEntity* killer)
    131131{
    132   Projectile::destroy();
     132  Projectile::destroy( killer );
    133133  PRINTF(5)("DESTROY Laser\n");
    134134  this->lifeCycle = .95; //!< @todo calculate this usefully.
Note: See TracChangeset for help on using the changeset viewer.