diff options
author | aap <aap@papnet.eu> | 2020-05-10 19:42:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-10 19:42:04 +0200 |
commit | 05021ed1e1e5374b38f9ce2912c310c04d358f6d (patch) | |
tree | b9d849f3fc61246f0038e5bec53ef8f61b040b83 /src/vehicles/Train.h | |
parent | some fixes and cosmetic changes (diff) | |
parent | Merge remote-tracking branch 'upstream/master' (diff) | |
download | re3-05021ed1e1e5374b38f9ce2912c310c04d358f6d.tar re3-05021ed1e1e5374b38f9ce2912c310c04d358f6d.tar.gz re3-05021ed1e1e5374b38f9ce2912c310c04d358f6d.tar.bz2 re3-05021ed1e1e5374b38f9ce2912c310c04d358f6d.tar.lz re3-05021ed1e1e5374b38f9ce2912c310c04d358f6d.tar.xz re3-05021ed1e1e5374b38f9ce2912c310c04d358f6d.tar.zst re3-05021ed1e1e5374b38f9ce2912c310c04d358f6d.zip |
Diffstat (limited to 'src/vehicles/Train.h')
-rw-r--r-- | src/vehicles/Train.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vehicles/Train.h b/src/vehicles/Train.h index bf541250..6aa76fa8 100644 --- a/src/vehicles/Train.h +++ b/src/vehicles/Train.h @@ -91,4 +91,5 @@ public: float *totalLength, float *totalDuration, CTrainInterpolationLine *interpLines, bool rightRail); static void UpdateTrains(void); }; -static_assert(sizeof(CTrain) == 0x2E4, "CTrain: error"); + +VALIDATE_SIZE(CTrain, 0x2E4); |