Changeset 2904 for code/trunk/src/orxonox/objects/worldentities/pawns
- Timestamp:
- Apr 6, 2009, 4:50:31 PM (16 years ago)
- Location:
- code/trunk/src/orxonox/objects/worldentities/pawns
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/objects/worldentities/pawns/Pawn.cc
r2902 r2904 198 198 void Pawn::death() 199 199 { 200 this->setHealth(1);201 200 if (this->getGametype() && this->getGametype()->allowPawnDeath(this, this->lastHitOriginator_)) 202 201 { … … 215 214 this->deatheffect(); 216 215 } 216 else 217 this->setHealth(1); 217 218 } 218 219
Note: See TracChangeset
for help on using the changeset viewer.