From c798e1bacdaabaf140ff3904948fd7cec46c09bb Mon Sep 17 00:00:00 2001 From: bigbossbro08 Date: Sun, 10 May 2020 21:49:33 +0600 Subject: Fixed typos and made all assert functions optional --- src/vehicles/Automobile.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/vehicles/Automobile.h') diff --git a/src/vehicles/Automobile.h b/src/vehicles/Automobile.h index 16d1a2ef..a3e8ac17 100644 --- a/src/vehicles/Automobile.h +++ b/src/vehicles/Automobile.h @@ -197,9 +197,7 @@ public: static void SetAllTaxiLights(bool set); }; -#ifdef CHECK_STRUCT_SIZES -static_assert(sizeof(CAutomobile) == 0x5A8, "CAutomobile: error"); -#endif +VALIDATE_SIZE(CAutomobile, 0x5A8); inline uint8 GetCarDoorFlag(int32 carnode) { switch (carnode) { -- cgit v1.2.3