diff options
author | eray orçunus <erayorcunus@gmail.com> | 2019-06-21 20:16:51 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2019-06-22 02:34:21 +0200 |
commit | 0a7120b6220a2efad0564dd1dac7961a7c11e639 (patch) | |
tree | edc7dbd6513be3537f3bb2f10b161ba2aaab35a2 /src/weapons/Weapon.h | |
parent | Fix throwable weapons (diff) | |
download | re3-0a7120b6220a2efad0564dd1dac7961a7c11e639.tar re3-0a7120b6220a2efad0564dd1dac7961a7c11e639.tar.gz re3-0a7120b6220a2efad0564dd1dac7961a7c11e639.tar.bz2 re3-0a7120b6220a2efad0564dd1dac7961a7c11e639.tar.lz re3-0a7120b6220a2efad0564dd1dac7961a7c11e639.tar.xz re3-0a7120b6220a2efad0564dd1dac7961a7c11e639.tar.zst re3-0a7120b6220a2efad0564dd1dac7961a7c11e639.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"); |