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/entities/Physical.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/entities/Physical.h') diff --git a/src/entities/Physical.h b/src/entities/Physical.h index c9b7402b..c84686ed 100644 --- a/src/entities/Physical.h +++ b/src/entities/Physical.h @@ -161,6 +161,4 @@ public: bool CheckCollision_SimpleCar(void); }; -#ifdef CHECK_STRUCT_SIZES -static_assert(sizeof(CPhysical) == 0x128, "CPhysical: error"); -#endif +VALIDATE_SIZE(CPhysical, 0x128); -- cgit v1.2.3