mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-04 05:19:59 +00:00
Removed !this check in CVehicle::IsWrecked, added CPed::IsNotInWreckedVehicle instead
This commit is contained in:
parent
6f96098549
commit
35add59b34
3 changed files with 15 additions and 8 deletions
|
@ -266,7 +266,7 @@ public:
|
|||
bool ShufflePassengersToMakeSpace(void);
|
||||
|
||||
bool IsAlarmOn(void) { return m_nAlarmState != 0 && m_nAlarmState != -1; }
|
||||
bool IsWrecked(void) { return !this || m_status == STATUS_WRECKED; }
|
||||
bool IsWrecked(void) { return m_status == STATUS_WRECKED; }
|
||||
CVehicleModelInfo* GetModelInfo() { return (CVehicleModelInfo*)CModelInfo::GetModelInfo(GetModelIndex()); }
|
||||
|
||||
static bool &bWheelsOnlyCheat;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue