summaryrefslogtreecommitdiffstats
path: root/src/peds/Ped.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-07-14 11:49:03 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2019-07-14 11:49:03 +0200
commit41dbd754dee344c79207e0821df6bcc262f90726 (patch)
treee80d10adead90967de74b488a8253d2d3343be73 /src/peds/Ped.cpp
parentfixed policeDontCare (diff)
downloadre3-41dbd754dee344c79207e0821df6bcc262f90726.tar
re3-41dbd754dee344c79207e0821df6bcc262f90726.tar.gz
re3-41dbd754dee344c79207e0821df6bcc262f90726.tar.bz2
re3-41dbd754dee344c79207e0821df6bcc262f90726.tar.lz
re3-41dbd754dee344c79207e0821df6bcc262f90726.tar.xz
re3-41dbd754dee344c79207e0821df6bcc262f90726.tar.zst
re3-41dbd754dee344c79207e0821df6bcc262f90726.zip
Diffstat (limited to '')
-rw-r--r--src/peds/Ped.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp
index 4ad4ac1b..859ddda4 100644
--- a/src/peds/Ped.cpp
+++ b/src/peds/Ped.cpp
@@ -46,6 +46,9 @@ WRAPPER void CPed::SetDuck(uint32) { EAXJMP(0x4E4920); }
WRAPPER void CPed::RegisterThreatWithGangPeds(CEntity*) { EAXJMP(0x4E3870); }
WRAPPER void CPed::MakeChangesForNewWeapon(int8) { EAXJMP(0x4F2560); }
WRAPPER bool CPed::Seek(void) { EAXJMP(0x4D1640); }
+WRAPPER void CPed::ClearAll(void) { EAXJMP(0x4C7F20); }
+WRAPPER void CPed::SetWanderPath(int8) { EAXJMP(0x4D2750); }
+WRAPPER void CPed::SetFollowPath(CVector) { EAXJMP(0x4D2EA0); }
bool &CPed::bNastyLimbsCheat = *(bool*)0x95CD44;
bool &CPed::bPedCheat2 = *(bool*)0x95CD5A;
@@ -1404,7 +1407,7 @@ CPed::PedSetDraggedOutCarCB(CAnimBlendAssociation *dragAssoc, void *arg)
if (vehicle->pDriver == ped) {
vehicle->RemoveDriver();
- if (vehicle->m_nDoorLock == CARLOCK_COP_CAR)
+ if (vehicle->m_nDoorLock == CARLOCK_LOCKED_INITIALLY)
vehicle->m_nDoorLock = CARLOCK_UNLOCKED;
if (ped->m_nPedType == PEDTYPE_COP && vehicle->IsLawEnforcementVehicle())