diff options
| author | bigbossbro08 <bigbossbro08@gmail.com> | 2020-05-10 19:54:37 +0600 |
|---|---|---|
| committer | bigbossbro08 <bigbossbro08@gmail.com> | 2020-05-10 19:54:37 +0600 |
| commit | af6e132b37e8b7e89e4c0c7a52e5bb81e4b1b9a8 (patch) | |
| tree | 76d91c02ec3701babef050228de8a40fe2306dcd /src/modelinfo/SimpleModelInfo.h | |
| parent | Small unification (diff) | |
| download | re3-af6e132b37e8b7e89e4c0c7a52e5bb81e4b1b9a8.tar.gz | |
defined out asserts.
Diffstat (limited to 'src/modelinfo/SimpleModelInfo.h')
| -rw-r--r-- | src/modelinfo/SimpleModelInfo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modelinfo/SimpleModelInfo.h b/src/modelinfo/SimpleModelInfo.h index 8c4173e9..65ff8c52 100644 --- a/src/modelinfo/SimpleModelInfo.h +++ b/src/modelinfo/SimpleModelInfo.h @@ -49,4 +49,7 @@ public: void SetRelatedModel(CSimpleModelInfo *m){ m_atomics[2] = (RpAtomic*)m; } }; + +#ifdef CHECK_STRUCT_SIZES static_assert(sizeof(CSimpleModelInfo) == 0x4C, "CSimpleModelInfo: error"); +#endif |
