From d521327072080be535817e84adc2ef443f1ab97a Mon Sep 17 00:00:00 2001 From: duncanspumpkin Date: Tue, 7 Jun 2022 22:08:49 +0100 Subject: [PATCH] use consistent style --- src/openrct2-ui/windows/Map.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/openrct2-ui/windows/Map.cpp b/src/openrct2-ui/windows/Map.cpp index 371bfa8864..c4d1dbcdb4 100644 --- a/src/openrct2-ui/windows/Map.cpp +++ b/src/openrct2-ui/windows/Map.cpp @@ -136,7 +136,7 @@ static constexpr const ScreenCoordsXY MiniMapOffsets[] = { class MapWindow final : public Window { - uint8_t rotation; + uint8_t _rotation; public: MapWindow() @@ -154,7 +154,7 @@ public: InitScrollWidgets(); - rotation = get_current_rotation(); + _rotation = get_current_rotation(); InitMap(); gWindowSceneryRotation = 0; @@ -320,9 +320,9 @@ public: void OnUpdate() override { - if (get_current_rotation() != rotation) + if (get_current_rotation() != _rotation) { - rotation = get_current_rotation(); + _rotation = get_current_rotation(); InitMap(); CentreMapOnViewPoint(); }