summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-09-26 23:01:50 +0200
committereray orçunus <erayorcunus@gmail.com>2019-09-26 23:01:50 +0200
commit0c385195d8ac10ac677d1b470af7845615ce742a (patch)
treee1cab849a035d1378d4ec8ebb272818fb73a86f4 /src/control
parentPeds (diff)
downloadre3-0c385195d8ac10ac677d1b470af7845615ce742a.tar
re3-0c385195d8ac10ac677d1b470af7845615ce742a.tar.gz
re3-0c385195d8ac10ac677d1b470af7845615ce742a.tar.bz2
re3-0c385195d8ac10ac677d1b470af7845615ce742a.tar.lz
re3-0c385195d8ac10ac677d1b470af7845615ce742a.tar.xz
re3-0c385195d8ac10ac677d1b470af7845615ce742a.tar.zst
re3-0c385195d8ac10ac677d1b470af7845615ce742a.zip
Diffstat (limited to '')
-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*);
};