diff options
author | aap <aap@papnet.eu> | 2019-06-28 12:34:02 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-06-28 12:34:02 +0200 |
commit | 847720aeae362868d8a3fa2681ef71f2c417399a (patch) | |
tree | 7845917dccc4f33b158e64ee458ac143b94efaa9 /src/control/Gangs.cpp | |
parent | Merge pull request #59 from Nick007J/master (diff) | |
download | re3-847720aeae362868d8a3fa2681ef71f2c417399a.tar re3-847720aeae362868d8a3fa2681ef71f2c417399a.tar.gz re3-847720aeae362868d8a3fa2681ef71f2c417399a.tar.bz2 re3-847720aeae362868d8a3fa2681ef71f2c417399a.tar.lz re3-847720aeae362868d8a3fa2681ef71f2c417399a.tar.xz re3-847720aeae362868d8a3fa2681ef71f2c417399a.tar.zst re3-847720aeae362868d8a3fa2681ef71f2c417399a.zip |
Diffstat (limited to 'src/control/Gangs.cpp')
-rw-r--r-- | src/control/Gangs.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/control/Gangs.cpp b/src/control/Gangs.cpp index 80ecd816..fc77ad72 100644 --- a/src/control/Gangs.cpp +++ b/src/control/Gangs.cpp @@ -1,9 +1,17 @@ #include "common.h" #include "patcher.h" +#include "ModelIndices.h" #include "Gangs.h" CGangInfo(&CGangs::Gang)[NUM_GANGS] = *(CGangInfo(*)[9])*(uintptr*)0x6EDF78; +CGangInfo::CGangInfo() : + m_nVehicleMI(MI_BUS), + m_nPedModelOverride(-1), + m_Weapon1(WEAPONTYPE_UNARMED), + m_Weapon2(WEAPONTYPE_UNARMED) +{} + void CGangs::Initialize(void) { Gang[GANG_MAFIA].m_nVehicleMI = MI_MAFIA; |