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/Treadable.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/entities/Treadable.h') diff --git a/src/entities/Treadable.h b/src/entities/Treadable.h index 272b2d4b..c3160f47 100644 --- a/src/entities/Treadable.h +++ b/src/entities/Treadable.h @@ -13,6 +13,5 @@ public: bool GetIsATreadable(void) { return true; } }; -#ifdef CHECK_STRUCT_SIZES -static_assert(sizeof(CTreadable) == 0x94, "CTreadable: error"); -#endif +VALIDATE_SIZE(CTreadable, 0x94); + -- cgit v1.2.3