summaryrefslogtreecommitdiffstats
path: root/src/core/Streaming.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-07 12:48:57 +0200
committeraap <aap@papnet.eu>2020-05-07 12:48:57 +0200
commit5c30b3a188c768c22afff13eb118dea7fd541a6c (patch)
treed533a030b5ca6374240e0f09a3e366cfd2d8996c /src/core/Streaming.cpp
parentdont hardcode first vehicle ID; little fix for roadblocks (diff)
downloadre3-5c30b3a188c768c22afff13eb118dea7fd541a6c.tar
re3-5c30b3a188c768c22afff13eb118dea7fd541a6c.tar.gz
re3-5c30b3a188c768c22afff13eb118dea7fd541a6c.tar.bz2
re3-5c30b3a188c768c22afff13eb118dea7fd541a6c.tar.lz
re3-5c30b3a188c768c22afff13eb118dea7fd541a6c.tar.xz
re3-5c30b3a188c768c22afff13eb118dea7fd541a6c.tar.zst
re3-5c30b3a188c768c22afff13eb118dea7fd541a6c.zip
Diffstat (limited to 'src/core/Streaming.cpp')
-rw-r--r--src/core/Streaming.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Streaming.cpp b/src/core/Streaming.cpp
index dab8bafb..72630d57 100644
--- a/src/core/Streaming.cpp
+++ b/src/core/Streaming.cpp
@@ -1331,7 +1331,7 @@ CStreaming::StreamVehiclesAndPeds(void)
for(i = 1; i <= 10; i++){
model = CCarCtrl::ChooseCarModel(modelQualityClass);
modelQualityClass++;
- if(modelQualityClass >= NUM_VEHICLE_CLASSES)
+ if(modelQualityClass >= CCarCtrl::TOTAL_CUSTOM_CLASSES)
modelQualityClass = 0;
// check if we want to load this model