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/Building.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/entities/Building.h') diff --git a/src/entities/Building.h b/src/entities/Building.h index 50818189..3586a8dc 100644 --- a/src/entities/Building.h +++ b/src/entities/Building.h @@ -17,6 +17,5 @@ public: virtual bool GetIsATreadable(void) { return false; } }; -#ifdef CHECK_STRUCT_SIZES -static_assert(sizeof(CBuilding) == 0x64, "CBuilding: error"); -#endif +VALIDATE_SIZE(CBuilding, 0x64); + -- cgit v1.2.3