summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-02-19 19:16:50 +0100
committerGitHub <noreply@github.com>2020-02-19 19:16:50 +0100
commit1610d325dcea7f3626099cbc43d0bce344ee477e (patch)
tree5f03eb72c906e4251f7517a1b6a56b1fcaf1af21 /src/control
parentMerge pull request #328 from erorcun/erorcun (diff)
parentCPopulation 2 (diff)
downloadre3-1610d325dcea7f3626099cbc43d0bce344ee477e.tar
re3-1610d325dcea7f3626099cbc43d0bce344ee477e.tar.gz
re3-1610d325dcea7f3626099cbc43d0bce344ee477e.tar.bz2
re3-1610d325dcea7f3626099cbc43d0bce344ee477e.tar.lz
re3-1610d325dcea7f3626099cbc43d0bce344ee477e.tar.xz
re3-1610d325dcea7f3626099cbc43d0bce344ee477e.tar.zst
re3-1610d325dcea7f3626099cbc43d0bce344ee477e.zip
Diffstat (limited to 'src/control')
-rw-r--r--src/control/Gangs.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/control/Gangs.h b/src/control/Gangs.h
index dd24ddcb..93ebe663 100644
--- a/src/control/Gangs.h
+++ b/src/control/Gangs.h
@@ -34,12 +34,15 @@ class CGangs
public:
static void Initialize(void);
static void SetGangVehicleModel(int16, int32);
- static int32 GetGangVehicleModel(int16 gang) { return Gang[gang].m_nVehicleMI; }
static void SetGangWeapons(int16, eWeaponType, eWeaponType);
static void SetGangPedModelOverride(int16, int8);
static int8 GetGangPedModelOverride(int16);
static void SaveAllGangData(uint8 *, uint32 *);
static void LoadAllGangData(uint8 *, uint32);
+
+ static int32 GetGangVehicleModel(int16 gang) { return Gang[gang].m_nVehicleMI; }
+ static eWeaponType GetGangWeapon1(int16 gang) { return Gang[gang].m_Weapon1; }
+ static eWeaponType GetGangWeapon2(int16 gang) { return Gang[gang].m_Weapon2; }
static CGangInfo* GetGangInfo(int16 gang) { return &Gang[gang]; }
private: