- Timestamp:
- Dec 14, 2011, 3:53:15 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/spaceraceTwo/src/modules/gametypes/SpaceRaceManager.cc
r8979 r8983 97 97 { 98 98 this->checkpoints_[0]->setRadarVisibility(true); 99 this->firstcheckpointvisible_= false;99 this->firstcheckpointvisible_=true; 100 100 } 101 101 … … 153 153 gametype->end(); 154 154 else 155 155 { 156 156 if (index > -1)this->setRadVis(player,false); 157 157 else this->getCheckpoint(0)->setRadarVisibility(false); 158 158 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 160 160 161 161 this->setRadVis(player, true); … … 187 187 { 188 188 this->getCheckpoint(v.z)->setRadarVisibility(b); 189 189 this->getCheckpoint(v.z)->settingsChanged(); 190 190 } 191 192 191 193 } 192 194
Note: See TracChangeset
for help on using the changeset viewer.