summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Train.h
diff options
context:
space:
mode:
authorbigbossbro08 <bigbossbro08@gmail.com>2020-05-10 17:49:33 +0200
committerbigbossbro08 <bigbossbro08@gmail.com>2020-05-10 17:49:33 +0200
commitc798e1bacdaabaf140ff3904948fd7cec46c09bb (patch)
treeef6d50874117bcc819b90dcd231d74f23fa0108d /src/vehicles/Train.h
parentdefined out asserts. (diff)
downloadre3-c798e1bacdaabaf140ff3904948fd7cec46c09bb.tar
re3-c798e1bacdaabaf140ff3904948fd7cec46c09bb.tar.gz
re3-c798e1bacdaabaf140ff3904948fd7cec46c09bb.tar.bz2
re3-c798e1bacdaabaf140ff3904948fd7cec46c09bb.tar.lz
re3-c798e1bacdaabaf140ff3904948fd7cec46c09bb.tar.xz
re3-c798e1bacdaabaf140ff3904948fd7cec46c09bb.tar.zst
re3-c798e1bacdaabaf140ff3904948fd7cec46c09bb.zip
Diffstat (limited to 'src/vehicles/Train.h')
-rw-r--r--src/vehicles/Train.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/vehicles/Train.h b/src/vehicles/Train.h
index 6fb73169..6aa76fa8 100644
--- a/src/vehicles/Train.h
+++ b/src/vehicles/Train.h
@@ -92,6 +92,4 @@ public:
static void UpdateTrains(void);
};
-#ifdef CHECK_STRUCT_SIZES
-static_assert(sizeof(CTrain) == 0x2E4, "CTrain: error");
-#endif \ No newline at end of file
+VALIDATE_SIZE(CTrain, 0x2E4);