Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 1, 2008, 9:03:51 PM (16 years ago)
Author:
landauf
Message:

converted tabs to spaces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/objects/quest/GlobalQuest.cc

    r2092 r2093  
    132132        std::set<Player*>::const_iterator it = this->players_.find((Player*)(void*)player);
    133133        if (it != this->players_.end())
    134         {
    135             return this->status_;
    136         }
    137         else
    138         {
    139            return questStatus::inactive;
    140         }
     134        {
     135            return this->status_;
     136        }
     137        else
     138        {
     139           return questStatus::inactive;
     140        }
    141141
    142142    }
     
    145145    @brief
    146146        Sets the status for a specific player.
    147         But be careful wit this one, the status will just be set without checking for its validity. You have to know what you're doing.
     147        But be careful wit this one, the status will just be set without checking for its validity. You have to know what you're doing.
    148148    @param player
    149149        The player.
     
    158158        {
    159159            return false;
    160         }
     160        }
    161161
    162162        std::set<Player*>::const_iterator it = this->players_.find(player);
    163163        if (it == this->players_.end()) //!< Player is not yet in the list.
    164         {
    165             this->players_.insert(player);
    166         }
    167         this->status_ = status;
    168         return true;
     164        {
     165            this->players_.insert(player);
     166        }
     167        this->status_ = status;
     168        return true;
    169169    }
    170170
Note: See TracChangeset for help on using the changeset viewer.