Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 14, 2011, 10:29:18 PM (13 years ago)
Author:
jo
Message:

Code clean up.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ai2/src/orxonox/worldentities/pawns/Pawn.cc

    r8735 r8758  
    9494
    9595        this->isHumanShip_ = this->hasLocalController();
    96        
     96
    9797        this->setSyncMode(ObjectDirection::Bidirectional); // needed to synchronise e.g. aimposition
    9898    }
     
    304304        if (this->getGametype() && this->getGametype()->allowPawnDeath(this, this->lastHitOriginator_))
    305305        {
    306             if ( this->getController()&& (!this->isHumanShip_) ) //announce death to the ai
    307             {
    308                  this->getController()->setDeathFlag();
    309             }
    310306            // Set bAlive_ to false and wait for PawnManager to do the destruction
    311307            this->bAlive_ = false;
Note: See TracChangeset for help on using the changeset viewer.