Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10768 in orxonox.OLD for branches


Ignore:
Timestamp:
Jun 21, 2007, 1:30:36 PM (18 years ago)
Author:
rennerc
Message:

shield init

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/world_entities/world_entity.cc

    r10765 r10768  
    100100  this->forwardDamageToParent = false;
    101101  this->damageable = false;
     102 
     103  this->loadShield( 0, 0, 0, 0 );
    102104
    103105  // registering default reactions:
     
    10151017  if (this->getShieldActive())
    10161018    damage = this->decreaseShield(damage*2);
    1017   this->decreaseHealth(damage/2);
     1019
     1020  this->decreaseHealth(damage);
    10181021
    10191022  if( this->getHealth() > 0)
Note: See TracChangeset for help on using the changeset viewer.