1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 22:34:33 +01:00

Update maze element

This commit is contained in:
Gymnasiast
2024-06-11 23:45:34 +02:00
parent 0d0d70bc1d
commit 0dc46211fe
6 changed files with 29 additions and 44 deletions

View File

@@ -547,7 +547,7 @@ static Widget _trackPlaceWidgets[] = {
uint8_t rotation = (_currentTrackPieceDirection + GetCurrentRotation()) & 3;
for (const auto& mazeElement : td6->mazeElements)
{
auto rotatedMazeCoords = origin + TileCoordsXY{ mazeElement.x, mazeElement.y }.ToCoordsXY().Rotate(rotation);
auto rotatedMazeCoords = origin + mazeElement.location.ToCoordsXY().Rotate(rotation);
if (pass == 0)
{