summaryrefslogtreecommitdiffstats
path: root/src/control/Gangs.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-03-21 12:29:03 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2020-03-21 12:29:03 +0100
commit795e07c8822d6785300302518c210082be3bc8d0 (patch)
tree0595389592b8a18f47257eeb96ccc154c8c3021e /src/control/Gangs.cpp
parentMerge pull request #346 from Sergeanur/Radar2 (diff)
downloadre3-795e07c8822d6785300302518c210082be3bc8d0.tar
re3-795e07c8822d6785300302518c210082be3bc8d0.tar.gz
re3-795e07c8822d6785300302518c210082be3bc8d0.tar.bz2
re3-795e07c8822d6785300302518c210082be3bc8d0.tar.lz
re3-795e07c8822d6785300302518c210082be3bc8d0.tar.xz
re3-795e07c8822d6785300302518c210082be3bc8d0.tar.zst
re3-795e07c8822d6785300302518c210082be3bc8d0.zip
Diffstat (limited to '')
-rw-r--r--src/control/Gangs.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/control/Gangs.cpp b/src/control/Gangs.cpp
index f6f9261e..f5f609bc 100644
--- a/src/control/Gangs.cpp
+++ b/src/control/Gangs.cpp
@@ -23,6 +23,10 @@ void CGangs::Initialize(void)
Gang[GANG_HOODS].m_nVehicleMI = MI_HOODS;
Gang[GANG_7].m_nVehicleMI = -1;
Gang[GANG_8].m_nVehicleMI = -1;
+#ifdef FIX_BUGS
+ for (int i = 0; i < NUM_GANGS; i++)
+ Gang[i].m_nPedModelOverride = -1;
+#endif
}
void CGangs::SetGangVehicleModel(int16 gang, int32 model)