summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2019-09-27 19:46:34 +0200
committerGitHub <noreply@github.com>2019-09-27 19:46:34 +0200
commitdf6e4093ce9c6ccaeab912e946ef59176ebe3a07 (patch)
treee1cab849a035d1378d4ec8ebb272818fb73a86f4 /src/control
parentMerge pull request #210 from erorcun/erorcun (diff)
parentPeds, ProcessObjective and fixes (diff)
downloadre3-df6e4093ce9c6ccaeab912e946ef59176ebe3a07.tar
re3-df6e4093ce9c6ccaeab912e946ef59176ebe3a07.tar.gz
re3-df6e4093ce9c6ccaeab912e946ef59176ebe3a07.tar.bz2
re3-df6e4093ce9c6ccaeab912e946ef59176ebe3a07.tar.lz
re3-df6e4093ce9c6ccaeab912e946ef59176ebe3a07.tar.xz
re3-df6e4093ce9c6ccaeab912e946ef59176ebe3a07.tar.zst
re3-df6e4093ce9c6ccaeab912e946ef59176ebe3a07.zip
Diffstat (limited to 'src/control')
-rw-r--r--src/control/CarAI.cpp1
-rw-r--r--src/control/CarAI.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/control/CarAI.cpp b/src/control/CarAI.cpp
index 097d69c6..45edb555 100644
--- a/src/control/CarAI.cpp
+++ b/src/control/CarAI.cpp
@@ -14,6 +14,7 @@ WRAPPER void CCarAI::AddPoliceOccupants(CVehicle*) { EAXJMP(0x415C60); }
WRAPPER void CCarAI::AddAmbulanceOccupants(CVehicle*) { EAXJMP(0x415CE0); }
WRAPPER void CCarAI::AddFiretruckOccupants(CVehicle*) { EAXJMP(0x415D00); }
WRAPPER void CCarAI::TellOccupantsToLeaveCar(CVehicle*) { EAXJMP(0x415D20); }
+WRAPPER float CCarAI::GetCarToGoToCoors(CVehicle*, CVector*) { EAXJMP(0x415B10); }
void CCarAI::CarHasReasonToStop(CVehicle* pVehicle)
{
diff --git a/src/control/CarAI.h b/src/control/CarAI.h
index 03bcd260..21294be3 100644
--- a/src/control/CarAI.h
+++ b/src/control/CarAI.h
@@ -16,4 +16,5 @@ public:
static void AddFiretruckOccupants(CVehicle*);
static void CarHasReasonToStop(CVehicle*);
static void TellOccupantsToLeaveCar(CVehicle*);
+ static float GetCarToGoToCoors(CVehicle*, CVector*);
};