diff options
author | aap <aap@papnet.eu> | 2019-06-22 21:31:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-22 21:31:38 +0200 |
commit | 6c7df4487e1a4a195bfbd682d8238d4694e0a636 (patch) | |
tree | 89bfb988c9c665827d62d7b6c78d56fd3c945ec3 /src/weapons/Weapon.h | |
parent | Merge pull request #30 from gennariarmando/master (diff) | |
parent | Merge branch 'master' of git://github.com/GTAmodding/re3 into erorcun (diff) | |
download | re3-6c7df4487e1a4a195bfbd682d8238d4694e0a636.tar re3-6c7df4487e1a4a195bfbd682d8238d4694e0a636.tar.gz re3-6c7df4487e1a4a195bfbd682d8238d4694e0a636.tar.bz2 re3-6c7df4487e1a4a195bfbd682d8238d4694e0a636.tar.lz re3-6c7df4487e1a4a195bfbd682d8238d4694e0a636.tar.xz re3-6c7df4487e1a4a195bfbd682d8238d4694e0a636.tar.zst re3-6c7df4487e1a4a195bfbd682d8238d4694e0a636.zip |
Diffstat (limited to 'src/weapons/Weapon.h')
-rw-r--r-- | src/weapons/Weapon.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/weapons/Weapon.h b/src/weapons/Weapon.h index 87134929..6009a549 100644 --- a/src/weapons/Weapon.h +++ b/src/weapons/Weapon.h @@ -16,7 +16,9 @@ enum eWeaponType WEAPONTYPE_MOLOTOV, WEAPONTYPE_GRENADE, WEAPONTYPE_DETONATOR, - WEAPONTYPE_HELICANNON + NUM_PED_WEAPONTYPES = 13, + WEAPONTYPE_HELICANNON = 13, + NUM_WEAPONTYPES }; enum eWeaponFire { @@ -48,6 +50,6 @@ public: bool m_bAddRotOffset; bool Fire(CEntity*, CVector*); - static void AddGunshell(CEntity*, CVector const&, CVector2D const&, float); + void AddGunshell(CEntity*, CVector const&, CVector2D const&, float); }; static_assert(sizeof(CWeapon) == 0x18, "CWeapon: error"); |