defined out asserts.

This commit is contained in:
bigbossbro08
2020-05-10 19:54:37 +06:00
parent d9a3533438
commit af6e132b37
48 changed files with 156 additions and 6 deletions

View File

@ -10,4 +10,7 @@ public:
CDummyObject(void) {}
CDummyObject(CObject *obj);
};
#ifdef CHECK_STRUCT_SIZES
static_assert(sizeof(CDummyObject) == 0x68, "CDummyObject: error");
#endif

View File

@ -97,4 +97,7 @@ public:
static void DeleteAllTempObjects();
static void DeleteAllTempObjectsInArea(CVector point, float fRadius);
};
#ifdef CHECK_STRUCT_SIZES
static_assert(sizeof(CObject) == 0x198, "CObject: error");
#endif