Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 21, 2007, 1:37:21 AM (17 years ago)
Author:
nicolasc
Message:

added shield functionality, reverted paeddae's MP patch - does not work

File:
1 edited

Legend:

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

    r10747 r10758  
    5151  this->setHealthMax(0);
    5252  this->lifeSpan = 3.0;
    53 
     53  this->setDamage(10);
    5454  this->angle = 0;
    5555//   this->rotationSpeed = 600;
     
    135135  if (this->hitEntity != entity/* && entity->isA(NPC::staticClassID())*/ && entity->isA(ActionboxEnemy::staticClassID()) || entity == this->target)
    136136    this->destroy( entity );
    137   this->hitEntity = entity;
     137//   this->hitEntity = entity;
    138138 // dynamic_cast<SpaceShip*>(entity)->damage( this->getPhysDamage(), this->getElecDamage());
    139139  this->deactivate();
Note: See TracChangeset for help on using the changeset viewer.