Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 6, 2009, 4:50:31 PM (15 years ago)
Author:
scheusso
Message:

reverted changes from 2902

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  
    198198    void Pawn::death()
    199199    {
    200         this->setHealth(1);
    201200        if (this->getGametype() && this->getGametype()->allowPawnDeath(this, this->lastHitOriginator_))
    202201        {
     
    215214                this->deatheffect();
    216215        }
     216        else
     217            this->setHealth(1);
    217218    }
    218219
Note: See TracChangeset for help on using the changeset viewer.