summaryrefslogtreecommitdiffstats
path: root/src/peds
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/peds
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 '')
-rw-r--r--src/peds/DummyPed.h3
-rw-r--r--src/peds/PedIK.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/peds/DummyPed.h b/src/peds/DummyPed.h
index af633dc4..5bb72d87 100644
--- a/src/peds/DummyPed.h
+++ b/src/peds/DummyPed.h
@@ -8,4 +8,7 @@ class CDummyPed : CDummy
int32 pedType;
int32 unknown;
};
+
+#ifdef CHECK_STRUCT_SIZES
static_assert(sizeof(CDummyPed) == 0x70, "CDummyPed: error");
+#endif \ No newline at end of file
diff --git a/src/peds/PedIK.h b/src/peds/PedIK.h
index fd9e4702..566193d6 100644
--- a/src/peds/PedIK.h
+++ b/src/peds/PedIK.h
@@ -64,4 +64,7 @@ public:
bool LookAtPosition(CVector const& pos);
bool RestoreLookAt(void);
};
+
+#ifdef CHECK_STRUCT_SIZES
static_assert(sizeof(CPedIK) == 0x28, "CPedIK: error");
+#endif