diff options
author | aap <aap@papnet.eu> | 2019-07-16 18:25:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-16 18:25:46 +0200 |
commit | 568b3de9cc682b4963d4fc6129692d11cfffe64a (patch) | |
tree | e119d9af8c6dc6fe93387c1cb264ea12304fbc0a /src/peds/Ped.cpp | |
parent | started making frontend accurate to game (diff) | |
parent | fix (diff) | |
download | re3-568b3de9cc682b4963d4fc6129692d11cfffe64a.tar re3-568b3de9cc682b4963d4fc6129692d11cfffe64a.tar.gz re3-568b3de9cc682b4963d4fc6129692d11cfffe64a.tar.bz2 re3-568b3de9cc682b4963d4fc6129692d11cfffe64a.tar.lz re3-568b3de9cc682b4963d4fc6129692d11cfffe64a.tar.xz re3-568b3de9cc682b4963d4fc6129692d11cfffe64a.tar.zst re3-568b3de9cc682b4963d4fc6129692d11cfffe64a.zip |
Diffstat (limited to 'src/peds/Ped.cpp')
-rw-r--r-- | src/peds/Ped.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp index 4ad4ac1b..851c56d5 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; @@ -393,7 +396,7 @@ CPed::CPed(uint32 pedType) : m_pedIK(this) m_ped_flagD10 = false; m_ped_flagD20 = false; m_ped_flagD40 = false; - m_ped_flagD80 = false; + m_bScriptObjectiveCompleted = false; m_ped_flagE1 = false; m_ped_flagE2 = false; @@ -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()) |