summaryrefslogtreecommitdiffstats
path: root/src/control/Gangs.cpp
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-03-22 02:49:24 +0100
committerGitHub <noreply@github.com>2020-03-22 02:49:24 +0100
commitb17935b89e8a42c13a2bc0662bb5bc34a1be66d5 (patch)
treed42b0d0fe6ef7f1b2d68b71ecbc63437d6ab2c4d /src/control/Gangs.cpp
parentProcessButtonPresses and fixes (diff)
parentMerge pull request #349 from Nick007J/master (diff)
downloadre3-b17935b89e8a42c13a2bc0662bb5bc34a1be66d5.tar
re3-b17935b89e8a42c13a2bc0662bb5bc34a1be66d5.tar.gz
re3-b17935b89e8a42c13a2bc0662bb5bc34a1be66d5.tar.bz2
re3-b17935b89e8a42c13a2bc0662bb5bc34a1be66d5.tar.lz
re3-b17935b89e8a42c13a2bc0662bb5bc34a1be66d5.tar.xz
re3-b17935b89e8a42c13a2bc0662bb5bc34a1be66d5.tar.zst
re3-b17935b89e8a42c13a2bc0662bb5bc34a1be66d5.zip
Diffstat (limited to 'src/control/Gangs.cpp')
-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 6be1ef9c..f9cb4698 100644
--- a/src/control/Gangs.cpp
+++ b/src/control/Gangs.cpp
@@ -24,6 +24,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)