summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-08 23:07:35 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-08 23:07:35 +0200
commite30b538cd3c2a73a96a43eb8a9a22c6b2944cece (patch)
tree651d0d9ce75594d3826c66ae3d97b3f27f545628 /src
parentfix (diff)
downloadre3-e30b538cd3c2a73a96a43eb8a9a22c6b2944cece.tar
re3-e30b538cd3c2a73a96a43eb8a9a22c6b2944cece.tar.gz
re3-e30b538cd3c2a73a96a43eb8a9a22c6b2944cece.tar.bz2
re3-e30b538cd3c2a73a96a43eb8a9a22c6b2944cece.tar.lz
re3-e30b538cd3c2a73a96a43eb8a9a22c6b2944cece.tar.xz
re3-e30b538cd3c2a73a96a43eb8a9a22c6b2944cece.tar.zst
re3-e30b538cd3c2a73a96a43eb8a9a22c6b2944cece.zip
Diffstat (limited to '')
-rw-r--r--src/control/CarCtrl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/CarCtrl.cpp b/src/control/CarCtrl.cpp
index 692627a9..8be39a86 100644
--- a/src/control/CarCtrl.cpp
+++ b/src/control/CarCtrl.cpp
@@ -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)