From 5eaeaf3c9566d438b468dea1603077b5766bfcfd Mon Sep 17 00:00:00 2001 From: mix <167040362+mixiate@users.noreply.github.com> Date: Thu, 24 Jul 2025 21:19:14 +0100 Subject: [PATCH] Fix the pattern of long grass being different to RCT1 and 2 (#24829) --- distribution/changelog.txt | 1 + src/openrct2/object/TerrainSurfaceObject.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/distribution/changelog.txt b/distribution/changelog.txt index 618fe77217..1744eb5d7f 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -13,6 +13,7 @@ - Fix: [#24824] The Air Powered Vertical Coaster top section track piece has vertical tunnels (original bug). - Fix: [#24825] The River Rapids flat-to-gentle track piece tunnels are incorrect on the gentle side. - Fix: [#24826] The Junior Roller Coaster flat-to-steep track piece tunnels are incorrect. +- Fix: [#24829] The pattern of long grass across tiles is different to RCT1 and RCT2. - Fix: [#24831] Park names are being overwritten for custom RCT1 scenarios that use competition id slots. 0.4.24 (2025-07-05) diff --git a/src/openrct2/object/TerrainSurfaceObject.cpp b/src/openrct2/object/TerrainSurfaceObject.cpp index 2ba27a7450..e224f1c428 100644 --- a/src/openrct2/object/TerrainSurfaceObject.cpp +++ b/src/openrct2/object/TerrainSurfaceObject.cpp @@ -157,7 +157,7 @@ ImageId TerrainSurfaceObject::GetImageId( } TileCoordsXY tilePos(position); - uint8_t variation = ((tilePos.x << 1) & 0b10) | (tilePos.y & 0b01); + const uint8_t variation = (tilePos.x & 0b01) | ((tilePos.y << 1) & 0b10); // Look for a matching special for (const SpecialEntry& special : entries)