Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 20, 2006, 5:36:18 PM (17 years ago)
Author:
marcscha
Message:

Firing Echo fix on WM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/playability/src/world_entities/projectiles/mbolt.cc

    r10117 r10132  
    7878  this->buildObbTree(4);
    7979 
    80   this->trail = new Trail(6,4,.1, this);
     80  this->trail = new Trail(6, 4, .1, this);
    8181  //this->trail->setParent( this);
    8282  this->trail->setTexture( "maps/laser.png");
     
    124124  this->setHealth(0);
    125125
    126 
    127126  this->emitter->setSpread(0);
    128127  this->emitter->setEmissionRate(10.0);
     
    150149  this->hitEntity = entity;
    151150  dynamic_cast<SpaceShip*>(entity)->damage(this->getPhysDamage(),this->getElecDamage());
    152   this->destroy(this);
     151  //this->destroy(this);
     152  this->deactivate();
    153153 
    154154  return;
    155155
    156   if( entity == NULL || dynamic_cast<SpaceShip*>(entity) == NULL)
    157     return;
    158 
    159   dynamic_cast<SpaceShip*>(entity)->damage( this->getPhysDamage(), this->getElecDamage());
     156  //dynamic_cast<SpaceShip*>(entity)->damage( this->getPhysDamage(), this->getElecDamage());
    160157  //entity->destroy(this);
    161158  //this->deactivate();
Note: See TracChangeset for help on using the changeset viewer.