diff options
author | _AG <gennariarmando@outlook.com> | 2019-07-02 13:59:19 +0200 |
---|---|---|
committer | _AG <gennariarmando@outlook.com> | 2019-07-02 14:36:40 +0200 |
commit | 6c693e3bbfe46cb445e4664eb91ef85c811a6240 (patch) | |
tree | d088600e9f1a18be005476d7a43a7232ccd1764f /src/entities | |
parent | Merge pull request #86 from erorcun/erorcun (diff) | |
download | re3-6c693e3bbfe46cb445e4664eb91ef85c811a6240.tar re3-6c693e3bbfe46cb445e4664eb91ef85c811a6240.tar.gz re3-6c693e3bbfe46cb445e4664eb91ef85c811a6240.tar.bz2 re3-6c693e3bbfe46cb445e4664eb91ef85c811a6240.tar.lz re3-6c693e3bbfe46cb445e4664eb91ef85c811a6240.tar.xz re3-6c693e3bbfe46cb445e4664eb91ef85c811a6240.tar.zst re3-6c693e3bbfe46cb445e4664eb91ef85c811a6240.zip |
Diffstat (limited to 'src/entities')
-rw-r--r-- | src/entities/Vehicle.cpp | 3 | ||||
-rw-r--r-- | src/entities/Vehicle.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/entities/Vehicle.cpp b/src/entities/Vehicle.cpp index 8c1ef515..f7c4b065 100644 --- a/src/entities/Vehicle.cpp +++ b/src/entities/Vehicle.cpp @@ -12,7 +12,8 @@ bool &CVehicle::bAllDodosCheat = *(bool *)0x95CD75; bool &CVehicle::bCheat3 = *(bool *)0x95CD66; bool &CVehicle::bCheat4 = *(bool *)0x95CD65; bool &CVehicle::bCheat5 = *(bool *)0x95CD64; - +bool &CVehicle::m_bDisableMouseSteering = *(bool *)0x60252C; + void *CVehicle::operator new(size_t sz) { return CPools::GetVehiclePool()->New(); } void *CVehicle::operator new(size_t sz, int handle) { return CPools::GetVehiclePool()->New(handle); } void CVehicle::operator delete(void *p, size_t sz) { CPools::GetVehiclePool()->Delete((CVehicle*)p); } diff --git a/src/entities/Vehicle.h b/src/entities/Vehicle.h index 27641e47..ba3e568e 100644 --- a/src/entities/Vehicle.h +++ b/src/entities/Vehicle.h @@ -135,6 +135,7 @@ public: static bool &bCheat3; static bool &bCheat4; static bool &bCheat5; + static bool &m_bDisableMouseSteering; }; static_assert(sizeof(CVehicle) == 0x288, "CVehicle: error"); |