summaryrefslogtreecommitdiffstats
path: root/src/control/CarCtrl.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-06-24 16:57:54 +0200
committereray orçunus <erayorcunus@gmail.com>2019-06-24 23:01:40 +0200
commit1e09bf9c30094b4387431be4842876181a1425fe (patch)
tree22ee6dfa941b6cc85619973311c357f11acc1ef1 /src/control/CarCtrl.cpp
parentmore Radar code (diff)
downloadre3-1e09bf9c30094b4387431be4842876181a1425fe.tar
re3-1e09bf9c30094b4387431be4842876181a1425fe.tar.gz
re3-1e09bf9c30094b4387431be4842876181a1425fe.tar.bz2
re3-1e09bf9c30094b4387431be4842876181a1425fe.tar.lz
re3-1e09bf9c30094b4387431be4842876181a1425fe.tar.xz
re3-1e09bf9c30094b4387431be4842876181a1425fe.tar.zst
re3-1e09bf9c30094b4387431be4842876181a1425fe.zip
Diffstat (limited to 'src/control/CarCtrl.cpp')
-rw-r--r--src/control/CarCtrl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/control/CarCtrl.cpp b/src/control/CarCtrl.cpp
index d59ae2d0..ff73e405 100644
--- a/src/control/CarCtrl.cpp
+++ b/src/control/CarCtrl.cpp
@@ -2,5 +2,7 @@
#include "patcher.h"
#include "CarCtrl.h"
+int &CCarCtrl::NumLawEnforcerCars = *(int*)0x8F1B38;
+
WRAPPER void CCarCtrl::SwitchVehicleToRealPhysics(CVehicle*) { EAXJMP(0x41F7F0); }
WRAPPER void CCarCtrl::AddToCarArray(int id, int vehclass) { EAXJMP(0x4182F0); }