mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 07:14:31 +01:00
use consistent style
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user