Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 23, 2009, 10:05:58 PM (16 years ago)
Author:
landauf
Message:

replaced tabs with spaces

Location:
code/trunk/src/orxonox/objects/worldentities
Files:
2 edited

Legend:

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

    r2896 r3034  
    112112    void Spectator::changedFlareVisibility()
    113113    {
    114         if ( this->greetingFlare_ )
     114        if (this->greetingFlare_)
    115115            this->greetingFlare_->setVisible(this->bGreetingFlareVisible_);
    116116    }
  • code/trunk/src/orxonox/objects/worldentities/triggers/DistanceTrigger.cc

    r3033 r3034  
    8686  {
    8787    Identifier* targetId = ClassByString(targets);
    88    
     88
    8989    //! Checks whether the target is (or is derived from) a ControllableEntity.
    9090    Identifier* controllableEntityId = Class(ControllableEntity);
     
    9393      this->setForPlayer(true);
    9494    }
    95    
     95
    9696    if (!targetId)
    9797    {
     
    131131      if (distanceVec.length() < this->distance_)
    132132      {
    133        
    134         //! If the target is a player (resp. is a, or is derived from a, ControllableEntity) the triggeringPlayer is set to the target entity.
     133
     134        // If the target is a player (resp. is a, or is derived from a, ControllableEntity) the triggeringPlayer is set to the target entity.
    135135        if(this->isForPlayer())
    136         {
     136        {
    137137          Pawn* player = dynamic_cast<Pawn*>(entity);
    138           this->setTriggeringPlayer(player);
    139         }
    140        
     138          this->setTriggeringPlayer(player);
     139        }
     140
    141141        return true;
    142142      }
Note: See TracChangeset for help on using the changeset viewer.