diff options
author | bigbossbro08 <bigbossbro08@gmail.com> | 2020-05-10 21:49:33 +0600 |
---|---|---|
committer | bigbossbro08 <bigbossbro08@gmail.com> | 2020-05-10 21:49:33 +0600 |
commit | c798e1bacdaabaf140ff3904948fd7cec46c09bb (patch) | |
tree | ef6d50874117bcc819b90dcd231d74f23fa0108d /src/vehicles/Cranes.h | |
parent | af6e132b37e8b7e89e4c0c7a52e5bb81e4b1b9a8 (diff) |
Fixed typos and made all assert functions optional
Diffstat (limited to 'src/vehicles/Cranes.h')
-rw-r--r-- | src/vehicles/Cranes.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/vehicles/Cranes.h b/src/vehicles/Cranes.h index 4d4c8fb4..6d877d82 100644 --- a/src/vehicles/Cranes.h +++ b/src/vehicles/Cranes.h @@ -72,9 +72,7 @@ public: float GetHeightToDropoffHeight() { return m_fDropoffHeight + (m_bIsCrusher ? 7.0f : 2.0f); } }; -#ifdef CHECK_STRUCT_SIZES -static_assert(sizeof(CCrane) == 128, "CCrane: error"); -#endif +VALIDATE_SIZE(CCrane, 128); class CCranes { |