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/QuestHint.cc

    r2092 r2093  
    6464    void QuestHint::XMLPort(Element& xmlelement, XMLPort::Mode mode)
    6565    {
    66         SUPER(QuestHint, XMLPort, xmlelement, mode);
     66        SUPER(QuestHint, XMLPort, xmlelement, mode);
    6767
    68         COUT(3) << "New QuestHint {" << this->getId() << "} created." << std::endl;
     68        COUT(3) << "New QuestHint {" << this->getId() << "} created." << std::endl;
    6969    }
    7070
     
    8989
    9090        std::map<Player*, questHintStatus::Enum>::iterator it = this->playerStatus_.find(player);
    91         if (it != this->playerStatus_.end())
    92         {
    93             return it->second;
    94         }
    95         return questStatus::inactive;
     91        if (it != this->playerStatus_.end())
     92        {
     93            return it->second;
     94        }
     95        return questStatus::inactive;
    9696    }
    9797
     
    108108        if(this->quest_->isActive(player))
    109109        {
    110             if(!(this->isActive(player)))
    111             {
    112                 this->playerStatus_[player] = questHintStatus::active;
    113                 return true;
    114             }
    115             else
    116             {
     110            if(!(this->isActive(player)))
     111            {
     112                this->playerStatus_[player] = questHintStatus::active;
     113                return true;
     114            }
     115            else
     116            {
    117117                COUT(2) << "An already active questHint was trying to get activated." << std::endl;
    118118                return false;
    119             }
     119            }
    120120        }
    121         COUT(2) << "A hint of a non-active quest was trying to get activated." << std::endl;
    122         return false;
     121        COUT(2) << "A hint of a non-active quest was trying to get activated." << std::endl;
     122        return false;
    123123    }
    124124
Note: See TracChangeset for help on using the changeset viewer.