mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-15 00:10:34 +00:00
Reorganize CPed functions into their original cpp files
This commit is contained in:
parent
a0a8bb8d92
commit
9e45feb4fa
15 changed files with 14349 additions and 14340 deletions
|
@ -2287,6 +2287,16 @@ CWeapon::HasWeaponAmmoToBeUsed(void)
|
|||
}
|
||||
}
|
||||
|
||||
bool
|
||||
CPed::IsPedDoingDriveByShooting(void)
|
||||
{
|
||||
if (FindPlayerPed() == this && GetWeapon()->m_eWeaponType == WEAPONTYPE_UZI) {
|
||||
if (TheCamera.Cams[TheCamera.ActiveCam].LookingLeft || TheCamera.Cams[TheCamera.ActiveCam].LookingRight)
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool
|
||||
CWeapon::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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue