Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 6, 2009, 4:25:45 PM (15 years ago)
Author:
vmikos
Message:

this is my first upload of the basematchfile

Location:
code/trunk/src/orxonox/objects/worldentities/pawns
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/objects/worldentities/pawns/Pawn.cc

    r2896 r2902  
    198198    void Pawn::death()
    199199    {
     200        this->setHealth(1);
    200201        if (this->getGametype() && this->getGametype()->allowPawnDeath(this, this->lastHitOriginator_))
    201202        {
     
    214215                this->deatheffect();
    215216        }
    216         else
    217             this->setHealth(1);
    218217    }
    219218
Note: See TracChangeset for help on using the changeset viewer.