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/Placeable.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/core/Placeable.h') diff --git a/src/core/Placeable.h b/src/core/Placeable.h index 110a1542..970c0d48 100644 --- a/src/core/Placeable.h +++ b/src/core/Placeable.h @@ -32,6 +32,4 @@ public: bool IsWithinArea(float x1, float y1, float z1, float x2, float y2, float z2); }; -#ifdef CHECK_STRUCT_SIZES -static_assert(sizeof(CPlaceable) == 0x4C, "CPlaceable: error"); -#endif \ No newline at end of file +VALIDATE_SIZE(CPlaceable, 0x4C); -- cgit v1.2.3