Changeset 10768 in orxonox.OLD for branches/presentation/src/world_entities
- Timestamp:
- Jun 21, 2007, 1:30:36 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/world_entity.cc
r10765 r10768 100 100 this->forwardDamageToParent = false; 101 101 this->damageable = false; 102 103 this->loadShield( 0, 0, 0, 0 ); 102 104 103 105 // registering default reactions: … … 1015 1017 if (this->getShieldActive()) 1016 1018 damage = this->decreaseShield(damage*2); 1017 this->decreaseHealth(damage/2); 1019 1020 this->decreaseHealth(damage); 1018 1021 1019 1022 if( this->getHealth() > 0)
Note: See TracChangeset
for help on using the changeset viewer.