summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Vehicle.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/vehicles/Vehicle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/Vehicle.h b/src/vehicles/Vehicle.h
index d8891628..76c2b90c 100644
--- a/src/vehicles/Vehicle.h
+++ b/src/vehicles/Vehicle.h
@@ -291,8 +291,8 @@ public:
static bool m_bDisableMouseSteering;
};
+VALIDATE_SIZE(CVehicle, 0x288);
#ifdef CHECK_STRUCT_SIZES
-static_assert(sizeof(CVehicle) == 0x288, "CVehicle: error");
static_assert(offsetof(CVehicle, m_pCurGroundEntity) == 0x1E0, "CVehicle: error");
static_assert(offsetof(CVehicle, m_nAlarmState) == 0x1A0, "CVehicle: error");
static_assert(offsetof(CVehicle, m_nLastWeaponDamage) == 0x228, "CVehicle: error");