Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 3, 2014, 1:50:22 PM (10 years ago)
Author:
landauf
Message:

replaced tabs with spaces. no changes in code

Location:
code/trunk/src/orxonox
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/gametypes/Dynamicmatch.cc

    r9667 r9945  
    276276            else if (friendlyfire && (source == target))
    277277            {
    278                     this->playerScored(originator->getPlayer(), -1);
     278                this->playerScored(originator->getPlayer(), -1);
    279279            }
    280280        }
     
    292292            if (playerParty_[originator->getPlayer()] == killer) //reward the killer
    293293            {
    294                     this->playerScored(originator->getPlayer(), 25);
     294                this->playerScored(originator->getPlayer(), 25);
    295295            }
    296296            return true;
     
    412412            if (it->second==piggy)//Spieler mit der Pig-party frags++
    413413            {
    414                 this->playerScored(it->first);
     414                this->playerScored(it->first);
    415415            }
    416416        }
  • code/trunk/src/orxonox/infos/PlayerInfo.cc

    r9939 r9945  
    232232        if (tmp == NULL)
    233233        {
    234                 orxout(verbose) <<  "PlayerInfo: pauseControl, Controller is NULL " << endl;
    235                 return;
     234            orxout(verbose) <<  "PlayerInfo: pauseControl, Controller is NULL " << endl;
     235            return;
    236236        }
    237237        tmp->setActive(false);
  • code/trunk/src/orxonox/sound/WorldAmbientSound.cc

    r9939 r9945  
    3939namespace orxonox
    4040{
    41         SetConsoleCommand("WorldAmbientSound", "nextsong",      &WorldAmbientSound::nextSong);
     41    SetConsoleCommand("WorldAmbientSound", "nextsong",      &WorldAmbientSound::nextSong);
    4242
    4343    RegisterClass(WorldAmbientSound);
     
    113113    {
    114114
    115         //HACK: Assuption - there is only one WorldAmbientSound in a level and only one level is used.
    116         for (ObjectList<WorldAmbientSound>::iterator it = ObjectList<WorldAmbientSound>::begin();
    117              it != ObjectList<WorldAmbientSound>::end(); ++it)
    118         {
    119                 while(it->ambientSound_->setAmbientSource(WorldAmbientSound::soundList_[WorldAmbientSound::soundNumber_]) == false){
    120                         WorldAmbientSound::soundNumber_ = (WorldAmbientSound::soundNumber_ + 1) % WorldAmbientSound::soundList_.size();
    121                 }
    122                 WorldAmbientSound::soundNumber_ = (WorldAmbientSound::soundNumber_ + 1) % WorldAmbientSound::soundList_.size();
    123         }
     115        //HACK: Assuption - there is only one WorldAmbientSound in a level and only one level is used.
     116        for (ObjectList<WorldAmbientSound>::iterator it = ObjectList<WorldAmbientSound>::begin();
     117             it != ObjectList<WorldAmbientSound>::end(); ++it)
     118        {
     119            while(it->ambientSound_->setAmbientSource(WorldAmbientSound::soundList_[WorldAmbientSound::soundNumber_]) == false){
     120                WorldAmbientSound::soundNumber_ = (WorldAmbientSound::soundNumber_ + 1) % WorldAmbientSound::soundList_.size();
     121            }
     122            WorldAmbientSound::soundNumber_ = (WorldAmbientSound::soundNumber_ + 1) % WorldAmbientSound::soundList_.size();
     123        }
    124124    }
    125125}
  • code/trunk/src/orxonox/worldentities/pawns/Pawn.cc

    r9939 r9945  
    305305    void Pawn::kill()
    306306    {
    307         this->damage(this->health_);
     307        this->damage(this->health_);
    308308        this->death();
    309309    }
     
    330330        {
    331331            explosionSound_->play();
    332                 // Set bAlive_ to false and wait for PawnManager to do the destruction
     332            // Set bAlive_ to false and wait for PawnManager to do the destruction
    333333            this->bAlive_ = false;
    334334
Note: See TracChangeset for help on using the changeset viewer.