Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 14, 2011, 3:53:15 PM (12 years ago)
Author:
eceline
Message:

a few changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/spaceraceTwo/src/modules/gametypes/SpaceRaceManager.cc

    r8979 r8983  
    9797        {
    9898            this->checkpoints_[0]->setRadarVisibility(true);
    99             this->firstcheckpointvisible_=false;
     99            this->firstcheckpointvisible_=true;
    100100        }
    101101         
     
    153153                gametype->end();
    154154            else
    155             {
     155                                {
    156156                if (index > -1)this->setRadVis(player,false);
    157157                        else this->getCheckpoint(0)->setRadarVisibility(false);
    158158                gametype->newCheckpointReached(check,player);
    159                 check->setRadarObjectColour(ColourValue::Green); //sets the radar colour of the checkpoint to green if it is reached, else it is red.
     159               
    160160               
    161161                this->setRadVis(player, true);
     
    187187        {
    188188            this->getCheckpoint(v.z)->setRadarVisibility(b);
    189             this->getCheckpoint(v.z)->settingsChanged();
     189           this->getCheckpoint(v.z)->settingsChanged();
    190190        }
     191       
     192       
    191193    }
    192194   
Note: See TracChangeset for help on using the changeset viewer.