summaryrefslogtreecommitdiff
path: root/src/core/Wanted.h
diff options
context:
space:
mode:
authorbigbossbro08 <bigbossbro08@gmail.com>2020-05-10 21:49:33 +0600
committerbigbossbro08 <bigbossbro08@gmail.com>2020-05-10 21:49:33 +0600
commitc798e1bacdaabaf140ff3904948fd7cec46c09bb (patch)
treeef6d50874117bcc819b90dcd231d74f23fa0108d /src/core/Wanted.h
parentaf6e132b37e8b7e89e4c0c7a52e5bb81e4b1b9a8 (diff)
Fixed typos and made all assert functions optional
Diffstat (limited to 'src/core/Wanted.h')
-rw-r--r--src/core/Wanted.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/Wanted.h b/src/core/Wanted.h
index 802c3673..de36c442 100644
--- a/src/core/Wanted.h
+++ b/src/core/Wanted.h
@@ -54,6 +54,4 @@ public:
static void SetMaximumWantedLevel(int32 level);
};
-#ifdef CHECK_STRUCT_SIZES
-static_assert(sizeof(CWanted) == 0x204, "CWanted: error");
-#endif
+VALIDATE_SIZE(CWanted, 0x204);