diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-06-20 16:23:32 +0300 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-06-20 16:23:32 +0300 |
commit | 0625954bb74e687ed73b496bc06e9db58407e045 (patch) | |
tree | 3ec342a96685889bf2512ececcfc76f1bdac14a0 /src/weapons/Weapon.h | |
parent | e9e533b0cba04a06b6ac9dfaddee2ea4fa19a72d (diff) |
Ducking, shooting vehicle occupants and weapon fixes
Diffstat (limited to 'src/weapons/Weapon.h')
-rw-r--r-- | src/weapons/Weapon.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/weapons/Weapon.h b/src/weapons/Weapon.h index 5c56d9e4..cb59582f 100644 --- a/src/weapons/Weapon.h +++ b/src/weapons/Weapon.h @@ -72,8 +72,11 @@ public: static bool IsShotgun(int weapon) { return weapon == WEAPONTYPE_SHOTGUN || weapon == WEAPONTYPE_SPAS12_SHOTGUN || weapon == WEAPONTYPE_STUBBY_SHOTGUN; } + // TODO(Miami): Is that still used? static bool ProcessLineOfSight(CVector const &point1, CVector const &point2, CColPoint &point, CEntity *&entity, eWeaponType type, CEntity *shooter, bool checkBuildings, bool checkVehicles, bool checkPeds, bool checkObjects, bool checkDummies, bool ignoreSeeThrough, bool ignoreSomeObjects); + static void CheckForShootingVehicleOccupant(CEntity**, CColPoint*, eWeaponType, CVector const&, CVector const&); + #ifdef COMPATIBLE_SAVES void Save(uint8*& buf); void Load(uint8*& buf); |