1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 07:14:31 +01:00

use consistent style

This commit is contained in:
duncanspumpkin
2022-06-07 22:08:49 +01:00
parent 249eaa989e
commit d521327072

View File

@@ -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();
}