Merge pull request #916 from Sergeanur/VC/VarConsole

CVarConsole
This commit is contained in:
aap
2021-01-03 17:01:17 +01:00
committed by GitHub
21 changed files with 1012 additions and 14 deletions

View File

@ -48,6 +48,9 @@ bool CVehicle::bAllTaxisHaveNitro;
bool CVehicle::m_bDisableMouseSteering = true;
bool CVehicle::bDisableRemoteDetonation;
bool CVehicle::bDisableRemoteDetonationOnContact;
#ifndef MASTER
bool CVehicle::m_bDisplayHandlingInfo;
#endif
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); }

View File

@ -402,6 +402,9 @@ public:
static bool m_bDisableMouseSteering;
static bool bDisableRemoteDetonation;
static bool bDisableRemoteDetonationOnContact;
#ifndef MASTER
static bool m_bDisplayHandlingInfo;
#endif
};
void DestroyVehicleAndDriverAndPassengers(CVehicle* pVehicle);