summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-02-18 00:56:13 +0100
committereray orçunus <erayorcunus@gmail.com>2020-02-19 19:14:17 +0100
commit090aef7de7672c2649570eeff5cc5b68a371e723 (patch)
tree5f03eb72c906e4251f7517a1b6a56b1fcaf1af21 /src/control
parentMerge pull request #328 from erorcun/erorcun (diff)
downloadre3-090aef7de7672c2649570eeff5cc5b68a371e723.tar
re3-090aef7de7672c2649570eeff5cc5b68a371e723.tar.gz
re3-090aef7de7672c2649570eeff5cc5b68a371e723.tar.bz2
re3-090aef7de7672c2649570eeff5cc5b68a371e723.tar.lz
re3-090aef7de7672c2649570eeff5cc5b68a371e723.tar.xz
re3-090aef7de7672c2649570eeff5cc5b68a371e723.tar.zst
re3-090aef7de7672c2649570eeff5cc5b68a371e723.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: