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/core/World.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/core/World.h') diff --git a/src/core/World.h b/src/core/World.h index 6fc6681d..2bcc4e43 100644 --- a/src/core/World.h +++ b/src/core/World.h @@ -46,10 +46,7 @@ public: CPtrList m_lists[NUMSECTORENTITYLISTS]; }; - -#ifdef CHECK_STRUCT_SIZES -static_assert(sizeof(CSector) == 0x28, "CSector: error"); -#endif +VALIDATE_SIZE(CSector, 0x28); class CEntity; struct CColPoint; -- cgit v1.2.3