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/VehicleModelInfo.h | |
| parent | Small unification (diff) | |
| download | re3-af6e132b37e8b7e89e4c0c7a52e5bb81e4b1b9a8.tar.gz | |
defined out asserts.
Diffstat (limited to 'src/modelinfo/VehicleModelInfo.h')
| -rw-r--r-- | src/modelinfo/VehicleModelInfo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modelinfo/VehicleModelInfo.h b/src/modelinfo/VehicleModelInfo.h index 6946c5c1..160c846b 100644 --- a/src/modelinfo/VehicleModelInfo.h +++ b/src/modelinfo/VehicleModelInfo.h @@ -123,4 +123,7 @@ public: static int GetMaximumNumberOfPassengersFromNumberOfDoors(int id); static void SetComponentsToUse(int8 c1, int8 c2) { ms_compsToUse[0] = c1; ms_compsToUse[1] = c2; } }; + +#ifdef CHECK_STRUCT_SIZES static_assert(sizeof(CVehicleModelInfo) == 0x1F8, "CVehicleModelInfo: error"); +#endif |
