summaryrefslogtreecommitdiffstats
path: root/src/control/CarCtrl.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-09 19:21:36 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-09 19:21:36 +0200
commit609caad7a4e61a391e6306996a75d82562283803 (patch)
treeb2e70c4692ec2e04e744863f352265c898267786 /src/control/CarCtrl.cpp
parentccarctrl big fix (diff)
parentaccidentally swapped reft and light (diff)
downloadre3-609caad7a4e61a391e6306996a75d82562283803.tar
re3-609caad7a4e61a391e6306996a75d82562283803.tar.gz
re3-609caad7a4e61a391e6306996a75d82562283803.tar.bz2
re3-609caad7a4e61a391e6306996a75d82562283803.tar.lz
re3-609caad7a4e61a391e6306996a75d82562283803.tar.xz
re3-609caad7a4e61a391e6306996a75d82562283803.tar.zst
re3-609caad7a4e61a391e6306996a75d82562283803.zip
Diffstat (limited to 'src/control/CarCtrl.cpp')
-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 266a750b..88fc92f3 100644
--- a/src/control/CarCtrl.cpp
+++ b/src/control/CarCtrl.cpp
@@ -884,7 +884,7 @@ int32
CCarCtrl::ChooseGangCarModel(int32 gang)
{
if (CStreaming::HasModelLoaded(MI_GANG01 + 2 * gang) &&
- CStreaming::HasModelLoaded(MI_GANG02 + 2 * gang))
+ CStreaming::HasModelLoaded(MI_GANG01+1 + 2 * gang))
return CGangs::GetGangVehicleModel(gang);
return -1;
}