summaryrefslogtreecommitdiffstats
path: root/src/peds
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-10-12 21:00:31 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2019-10-12 21:00:31 +0200
commitc78fff8d5469f76a1a684f55bb4a6c7d64ad12b7 (patch)
tree754aa2cd46ffa7ad3e6c4e8c0498341bb569c57f /src/peds
parentblunder (diff)
downloadre3-c78fff8d5469f76a1a684f55bb4a6c7d64ad12b7.tar
re3-c78fff8d5469f76a1a684f55bb4a6c7d64ad12b7.tar.gz
re3-c78fff8d5469f76a1a684f55bb4a6c7d64ad12b7.tar.bz2
re3-c78fff8d5469f76a1a684f55bb4a6c7d64ad12b7.tar.lz
re3-c78fff8d5469f76a1a684f55bb4a6c7d64ad12b7.tar.xz
re3-c78fff8d5469f76a1a684f55bb4a6c7d64ad12b7.tar.zst
re3-c78fff8d5469f76a1a684f55bb4a6c7d64ad12b7.zip
Diffstat (limited to '')
-rw-r--r--src/peds/Ped.cpp2
-rw-r--r--src/peds/Ped.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp
index 87a0829e..44908f9a 100644
--- a/src/peds/Ped.cpp
+++ b/src/peds/Ped.cpp
@@ -63,6 +63,8 @@ WRAPPER int CPed::ScanForThreats(void) { EAXJMP(0x4C5FE0); }
WRAPPER void CPed::SetEnterCar_AllClear(CVehicle*, uint32, uint32) { EAXJMP(0x4E0A40); }
WRAPPER bool CPed::WarpPedToNearEntityOffScreen(CEntity*) { EAXJMP(0x4E5570); }
WRAPPER void CPed::SetExitCar(CVehicle*, uint32) { EAXJMP(0x4E1010); }
+WRAPPER void CPed::SetObjective(eObjective, CVector) { EAXJMP(0x4D8A90); }
+WRAPPER void CPed::SetObjective(eObjective, CVector, float) { EAXJMP(0x4D8770); }
#define FEET_OFFSET 1.04f
diff --git a/src/peds/Ped.h b/src/peds/Ped.h
index 74d85e56..797f19af 100644
--- a/src/peds/Ped.h
+++ b/src/peds/Ped.h
@@ -553,6 +553,8 @@ public:
void SetObjective(eObjective, void*);
void SetObjective(eObjective);
void SetObjective(eObjective, int16, int16);
+ void SetObjective(eObjective, CVector);
+ void SetObjective(eObjective, CVector, float);
void ClearChat(void);
void InformMyGangOfAttack(CEntity*);
void ReactToAttack(CEntity*);