summaryrefslogtreecommitdiffstats
path: root/src/peds/Ped.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-06-20 15:03:00 +0200
committerGitHub <noreply@github.com>2020-06-20 15:03:00 +0200
commit7700970c9391afe54e7bd29a1e58db8c0fa9acfd (patch)
treeaf2f64fcfcfff22150364edf1ae203bea737158e /src/peds/Ped.cpp
parentfix (diff)
parentCCamera done (diff)
downloadre3-7700970c9391afe54e7bd29a1e58db8c0fa9acfd.tar
re3-7700970c9391afe54e7bd29a1e58db8c0fa9acfd.tar.gz
re3-7700970c9391afe54e7bd29a1e58db8c0fa9acfd.tar.bz2
re3-7700970c9391afe54e7bd29a1e58db8c0fa9acfd.tar.lz
re3-7700970c9391afe54e7bd29a1e58db8c0fa9acfd.tar.xz
re3-7700970c9391afe54e7bd29a1e58db8c0fa9acfd.tar.zst
re3-7700970c9391afe54e7bd29a1e58db8c0fa9acfd.zip
Diffstat (limited to 'src/peds/Ped.cpp')
-rw-r--r--src/peds/Ped.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp
index 4069301d..c11291b9 100644
--- a/src/peds/Ped.cpp
+++ b/src/peds/Ped.cpp
@@ -8988,6 +8988,13 @@ CPed::GetWeaponSlot(eWeaponType weaponType)
return CWeaponInfo::GetWeaponInfo(weaponType)->m_nWeaponSlot;
}
+// --MIAMI: Done
+bool
+CPed::CanWeRunAndFireWithWeapon(void)
+{
+ return CWeaponInfo::GetWeaponInfo(GetWeapon()->m_eWeaponType)->m_bCanAimWithArm;
+}
+
void
CPed::GoToNearestDoor(CVehicle *veh)
{