diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-16 17:00:40 +0300 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-16 17:00:40 +0300 |
commit | e3291b0cb14811d9201a5f66f0e8633612ecef7e (patch) | |
tree | c90f89b280e9077e2020db8d99ac24265762fad0 /src/control/CarCtrl.cpp | |
parent | 40ee29fb99cc82c720ece4eab0e06855a161d12a (diff) |
gangs, script and replay fixes
Diffstat (limited to 'src/control/CarCtrl.cpp')
-rw-r--r-- | src/control/CarCtrl.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/control/CarCtrl.cpp b/src/control/CarCtrl.cpp index c1d89884..956bad28 100644 --- a/src/control/CarCtrl.cpp +++ b/src/control/CarCtrl.cpp @@ -889,8 +889,7 @@ CCarCtrl::ChoosePoliceCarModel(void) int32 CCarCtrl::ChooseGangCarModel(int32 gang) { - if (CStreaming::HasModelLoaded(MI_GANG01 + 2 * gang) && - CStreaming::HasModelLoaded(MI_GANG01+1 + 2 * gang)) + if (CGangs::HaveGangModelsLoaded(gang)) return CGangs::GetGangVehicleModel(gang); return -1; } |