- Timestamp:
- Jun 4, 2012, 9:40:54 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2012merge/src/orxonox/worldentities/pawns/Pawn.cc
r9272 r9277 231 231 void Pawn::damage(float damage, float healthdamage, float shielddamage, Pawn* originator) 232 232 { 233 //Applies multiplier given by the DamageBoost Pickup. 234 Pawn *test = dynamic_cast<Pawn *>(originator); 235 if( test != NULL ) 236 { 237 damage *= originator->getDamageMultiplier(); 238 } 233 // Applies multiplier given by the DamageBoost Pickup. 234 damage *= originator->getDamageMultiplier(); 239 235 240 236 if (this->getGametype() && this->getGametype()->allowPawnDamage(this, originator))
Note: See TracChangeset
for help on using the changeset viewer.