diff --git a/src/race/grand_prix_data.cpp b/src/race/grand_prix_data.cpp index 318db46d6..f717edc0c 100644 --- a/src/race/grand_prix_data.cpp +++ b/src/race/grand_prix_data.cpp @@ -126,7 +126,7 @@ void GrandPrixData::changeReverse(const RandomGPInfoDialog::REVERSED use_reverse m_reversed[i] = false; else if (use_reverse == RandomGPInfoDialog::MIXED) if (track_manager->getTrack(m_tracks[i])->reverseAvailable()) - m_reversed[i] = rand() % 2; + m_reversed[i] = (rand() % 2!=0); else m_reversed[i] = false; else // all reversed