summaryrefslogtreecommitdiffstats
path: root/src/entities
diff options
context:
space:
mode:
authoraap <angelo.papenhoff@gmail.com>2019-07-02 22:05:11 +0200
committerGitHub <noreply@github.com>2019-07-02 22:05:11 +0200
commite8215cf560318fdd77817cea485af50fca827552 (patch)
tree477b9853bea245d9cbdaa8700e02ff980abe79d5 /src/entities
parentMerge pull request #88 from gennariarmando/master (diff)
downloadre3-e8215cf560318fdd77817cea485af50fca827552.tar
re3-e8215cf560318fdd77817cea485af50fca827552.tar.gz
re3-e8215cf560318fdd77817cea485af50fca827552.tar.bz2
re3-e8215cf560318fdd77817cea485af50fca827552.tar.lz
re3-e8215cf560318fdd77817cea485af50fca827552.tar.xz
re3-e8215cf560318fdd77817cea485af50fca827552.tar.zst
re3-e8215cf560318fdd77817cea485af50fca827552.zip
Diffstat (limited to '')
-rw-r--r--src/entities/Vehicle.cpp3
-rw-r--r--src/entities/Vehicle.h1
2 files changed, 1 insertions, 3 deletions
diff --git a/src/entities/Vehicle.cpp b/src/entities/Vehicle.cpp
index f7c4b065..8c1ef515 100644
--- a/src/entities/Vehicle.cpp
+++ b/src/entities/Vehicle.cpp
@@ -12,8 +12,7 @@ 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 ba3e568e..27641e47 100644
--- a/src/entities/Vehicle.h
+++ b/src/entities/Vehicle.h
@@ -135,7 +135,6 @@ public:
static bool &bCheat3;
static bool &bCheat4;
static bool &bCheat5;
- static bool &m_bDisableMouseSteering;
};
static_assert(sizeof(CVehicle) == 0x288, "CVehicle: error");