Use track->isRaceTrack().
This commit is contained in:
parent
ccdc90f029
commit
ae01eaf595
@ -101,7 +101,7 @@ void GrandPrixData::changeTrackNumber(const unsigned int number_of_tracks,
|
|||||||
{
|
{
|
||||||
const Track *track = track_manager->getTrack(i);
|
const Track *track = track_manager->getTrack(i);
|
||||||
// Ignore no-racing tracks:
|
// Ignore no-racing tracks:
|
||||||
if(track->isArena() || track->isSoccer() || track->isInternal())
|
if(!track->isRaceTrack())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// Only add tracks that are not already picked.
|
// Only add tracks that are not already picked.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user