Skip to content
This repository has been archived by the owner. It is now read-only.

GenerateOneRandomCar except bikes #526

Merged
merged 4 commits into from May 9, 2020
Merged
Changes from 1 commit
Commits
File filter
Filter file types
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.

Always

Just for now

Prev
fix
  • Loading branch information
Nick007J committed May 8, 2020
commit e30b538cd3c2a73a96a43eb8a9a22c6b2944cece
@@ -302,7 +302,7 @@ CCarCtrl::GenerateOneRandomCar()
else {
int i;
carModel = -1;
for (i = 10; i > 0 && (carModel == -1 || CStreaming::HasModelLoaded(carModel)); i--) {
for (i = 10; i > 0 && (carModel == -1 || !CStreaming::HasModelLoaded(carModel)); i--) {
carModel = ChooseBoatModel(ChooseBoatRating(&zone));
}
if (i == 0)