1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-30 02:05:13 +01:00

Fix the pattern of long grass being different to RCT1 and 2 (#24829)

This commit is contained in:
mix
2025-07-24 21:19:14 +01:00
committed by GitHub
parent 975b64a7fd
commit 5eaeaf3c95
2 changed files with 2 additions and 1 deletions

View File

@@ -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)