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/Plane.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/vehicles/Plane.h') diff --git a/src/vehicles/Plane.h b/src/vehicles/Plane.h index f0c5902b..7e822d64 100644 --- a/src/vehicles/Plane.h +++ b/src/vehicles/Plane.h @@ -64,9 +64,7 @@ public: static bool HasDropOffCesnaBeenShotDown(void); }; -#ifdef CHECK_STRUCT_SIZES -static_assert(sizeof(CPlane) == 0x29C, "CPlane: error"); -#endif +VALIDATE_SIZE(CPlane, 0x29C); extern float LandingPoint; extern float TakeOffPoint; -- cgit v1.2.3