diff options
author | bigbossbro08 <bigbossbro08@gmail.com> | 2020-05-10 17:49:33 +0200 |
---|---|---|
committer | bigbossbro08 <bigbossbro08@gmail.com> | 2020-05-10 17:49:33 +0200 |
commit | c798e1bacdaabaf140ff3904948fd7cec46c09bb (patch) | |
tree | ef6d50874117bcc819b90dcd231d74f23fa0108d /src/control/PathFind.h | |
parent | defined out asserts. (diff) | |
download | re3-c798e1bacdaabaf140ff3904948fd7cec46c09bb.tar re3-c798e1bacdaabaf140ff3904948fd7cec46c09bb.tar.gz re3-c798e1bacdaabaf140ff3904948fd7cec46c09bb.tar.bz2 re3-c798e1bacdaabaf140ff3904948fd7cec46c09bb.tar.lz re3-c798e1bacdaabaf140ff3904948fd7cec46c09bb.tar.xz re3-c798e1bacdaabaf140ff3904948fd7cec46c09bb.tar.zst re3-c798e1bacdaabaf140ff3904948fd7cec46c09bb.zip |
Diffstat (limited to 'src/control/PathFind.h')
-rw-r--r-- | src/control/PathFind.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/control/PathFind.h b/src/control/PathFind.h index d812ac32..bbfdf7b7 100644 --- a/src/control/PathFind.h +++ b/src/control/PathFind.h @@ -42,9 +42,7 @@ struct CPedPathNode CPedPathNode* next; }; -#ifdef CHECK_STRUCT_SIZES -static_assert(sizeof(CPedPathNode) == 0x10, "CPedPathNode: error"); -#endif +VALIDATE_SIZE(CPedPathNode, 0x10); class CPedPath { public: @@ -225,10 +223,7 @@ public: void DisplayPathData(void); }; - -#ifdef CHECK_STRUCT_SIZES -static_assert(sizeof(CPathFind) == 0x49bf4, "CPathFind: error"); -#endif +VALIDATE_SIZE(CPathFind, 0x49bf4); extern CPathFind ThePaths; |