mirror of
https://github.com/halpz/re3.git
synced 2025-06-29 11:36:25 +00:00
Phone, World, Ped
This commit is contained in:
@ -35,6 +35,12 @@ CWeapon::Reload(void)
|
||||
m_nAmmoInClip = m_nAmmoTotal;
|
||||
}
|
||||
|
||||
bool
|
||||
CWeapon::IsType2Handed(void)
|
||||
{
|
||||
return m_eWeaponType >= WEAPONTYPE_SHOTGUN && m_eWeaponType <= WEAPONTYPE_FLAMETHROWER && m_eWeaponType != WEAPONTYPE_ROCKETLAUNCHER;
|
||||
}
|
||||
|
||||
bool
|
||||
CWeapon::IsTypeMelee(void)
|
||||
{
|
||||
|
@ -65,5 +65,6 @@ public:
|
||||
bool Fire(CEntity*, CVector*);
|
||||
void AddGunshell(CEntity*, CVector const&, CVector2D const&, float);
|
||||
bool IsTypeMelee(void);
|
||||
bool IsType2Handed(void);
|
||||
};
|
||||
static_assert(sizeof(CWeapon) == 0x18, "CWeapon: error");
|
||||
|
Reference in New Issue
Block a user