summaryrefslogtreecommitdiffstats
path: root/src/objects
diff options
context:
space:
mode:
authorbigbossbro08 <bigbossbro08@gmail.com>2020-05-10 15:54:37 +0200
committerbigbossbro08 <bigbossbro08@gmail.com>2020-05-10 15:54:37 +0200
commitaf6e132b37e8b7e89e4c0c7a52e5bb81e4b1b9a8 (patch)
tree76d91c02ec3701babef050228de8a40fe2306dcd /src/objects
parentSmall unification (diff)
downloadre3-af6e132b37e8b7e89e4c0c7a52e5bb81e4b1b9a8.tar
re3-af6e132b37e8b7e89e4c0c7a52e5bb81e4b1b9a8.tar.gz
re3-af6e132b37e8b7e89e4c0c7a52e5bb81e4b1b9a8.tar.bz2
re3-af6e132b37e8b7e89e4c0c7a52e5bb81e4b1b9a8.tar.lz
re3-af6e132b37e8b7e89e4c0c7a52e5bb81e4b1b9a8.tar.xz
re3-af6e132b37e8b7e89e4c0c7a52e5bb81e4b1b9a8.tar.zst
re3-af6e132b37e8b7e89e4c0c7a52e5bb81e4b1b9a8.zip
Diffstat (limited to 'src/objects')
-rw-r--r--src/objects/DummyObject.h3
-rw-r--r--src/objects/Object.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/objects/DummyObject.h b/src/objects/DummyObject.h
index d4dce609..8a0913c5 100644
--- a/src/objects/DummyObject.h
+++ b/src/objects/DummyObject.h
@@ -10,4 +10,7 @@ public:
CDummyObject(void) {}
CDummyObject(CObject *obj);
};
+
+#ifdef CHECK_STRUCT_SIZES
static_assert(sizeof(CDummyObject) == 0x68, "CDummyObject: error");
+#endif \ No newline at end of file
diff --git a/src/objects/Object.h b/src/objects/Object.h
index 80b9015c..ff4c896e 100644
--- a/src/objects/Object.h
+++ b/src/objects/Object.h
@@ -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