- Timestamp:
- Apr 6, 2009, 4:48:32 PM (15 years ago)
- Location:
- code/branches/gametypes/src/orxonox/objects/worldentities/pawns
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gametypes/src/orxonox/objects/worldentities/pawns/Pawn.cc
r2826 r2903 198 198 void Pawn::death() 199 199 { 200 this->setHealth(1); 200 201 if (this->getGametype() && this->getGametype()->allowPawnDeath(this, this->lastHitOriginator_)) 201 202 { … … 214 215 this->deatheffect(); 215 216 } 216 else217 this->setHealth(1);218 217 } 219 218
Note: See TracChangeset
for help on using the changeset viewer.