Fixed compiler warning.
This commit is contained in:
parent
c222bbcb1c
commit
cab0b2d833
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user