diff options
author | bigbossbro08 <bigbossbro08@gmail.com> | 2020-05-10 15:54:37 +0200 |
---|---|---|
committer | bigbossbro08 <bigbossbro08@gmail.com> | 2020-05-10 15:54:37 +0200 |
commit | af6e132b37e8b7e89e4c0c7a52e5bb81e4b1b9a8 (patch) | |
tree | 76d91c02ec3701babef050228de8a40fe2306dcd /src/vehicles/Automobile.h | |
parent | Small unification (diff) | |
download | re3-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/vehicles/Automobile.h')
-rw-r--r-- | src/vehicles/Automobile.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vehicles/Automobile.h b/src/vehicles/Automobile.h index 041302bf..16d1a2ef 100644 --- a/src/vehicles/Automobile.h +++ b/src/vehicles/Automobile.h @@ -197,7 +197,9 @@ public: static void SetAllTaxiLights(bool set); }; +#ifdef CHECK_STRUCT_SIZES static_assert(sizeof(CAutomobile) == 0x5A8, "CAutomobile: error"); +#endif inline uint8 GetCarDoorFlag(int32 carnode) { switch (carnode) { |