From 0b99943a3fbb2c7cbd0145b3aa475b71802a1523 Mon Sep 17 00:00:00 2001 From: Sadret Date: Wed, 4 Nov 2020 17:41:38 +0100 Subject: [PATCH] Fix address comments in TileElement.h --- src/openrct2/world/TileElement.h | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/src/openrct2/world/TileElement.h b/src/openrct2/world/TileElement.h index 95767ac0e7..77fc52e552 100644 --- a/src/openrct2/world/TileElement.h +++ b/src/openrct2/world/TileElement.h @@ -384,9 +384,9 @@ struct SmallSceneryElement : TileElementBase { private: ObjectEntryIndex entryIndex; // 4 - uint8_t age; // 5 - uint8_t colour_1; // 6 - uint8_t colour_2; // 7 + uint8_t age; // 6 + uint8_t colour_1; // 7 + uint8_t colour_2; // 8 #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wunused-private-field" uint8_t pad_09[7]; @@ -454,7 +454,7 @@ private: colour_t colour_2; // 07 colour_t colour_3; // 08 BannerIndex banner_index; // 09 - uint8_t animation; // 0A 0b_dfff_ft00 d = direction, f = frame num, t = across track flag (not used) + uint8_t animation; // 0B 0b_dfff_ft00 d = direction, f = frame num, t = across track flag (not used) #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wunused-private-field" uint8_t pad_0C[4]; @@ -528,13 +528,12 @@ assert_struct_size(EntranceElement, 16); struct BannerElement : TileElementBase { private: - BannerIndex index; // 4 - uint8_t position; // 5 + BannerIndex index; // 4 + uint8_t position; // 6 + uint8_t AllowedEdges; // 7 #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wunused-private-field" - uint8_t AllowedEdges; // 6 - uint8_t unused; // 7 - uint8_t pad_09[7]; + uint8_t pad_08[8]; #pragma clang diagnostic pop public: Banner* GetBanner() const;