From be9970b27477946c873d24e03d839b0c57f4a082 Mon Sep 17 00:00:00 2001 From: HtotheTML <108596959+HtotheTML@users.noreply.github.com> Date: Sun, 28 Jan 2024 14:46:50 -0800 Subject: [PATCH] Fix additional missing land/construction rights tiles in WW's Inca Lost City & Renovation --- distribution/changelog.txt | 1 + src/openrct2/rct2/S6Importer.cpp | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/distribution/changelog.txt b/distribution/changelog.txt index 31af3860f0..73e15ce5de 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -19,6 +19,7 @@ - Fix: [#21158] [Plugin] Potential crash using setInterval/setTimeout within the callback. - Fix: [#21171] [Plugin] Crash creating entities with no more entity slots available. - Fix: [#21178] Inca Lost City’s scenario description incorrectly states there are height restrictions. +- Fix: [#21179] Additional missing land/construction rights tiles in Inca Lost City & Renovation. - Fix: [#21198] [Plugin] Setting brake or booster speeds on a tile element doesn’t work. 0.4.7 (2023-12-31) diff --git a/src/openrct2/rct2/S6Importer.cpp b/src/openrct2/rct2/S6Importer.cpp index 5ecefa2b71..094ec5dcef 100644 --- a/src/openrct2/rct2/S6Importer.cpp +++ b/src/openrct2/rct2/S6Importer.cpp @@ -835,8 +835,17 @@ namespace RCT2 || String::IEquals(gScenarioFileName, "south america - inca lost city.sea")) { // clang-format off + FixLandOwnershipTilesWithOwnership( + { + { 15, 59 }, + }, + OWNERSHIP_UNOWNED); FixLandOwnershipTilesWithOwnership( { + { 11, 64 }, { 11, 65 }, { 11, 66 }, + { 13, 68 }, { 13, 69 }, + { 14, 69 }, + { 15, 59 }, { 55, 60 }, { 61, 6 }, { 86, 63 }, @@ -934,6 +943,16 @@ namespace RCT2 OWNERSHIP_AVAILABLE, true); // clang-format on } + else if (String::Equals(_s6.ScenarioFilename, "Europe - Renovation.SC6")) + { + // clang-format off + FixLandOwnershipTilesWithOwnership( + { + { 12, 21 }, + }, + OWNERSHIP_OWNED); + // clang-format on + } else if ( String::IEquals(gScenarioFileName, "N America - Extreme Hawaiian Island.SC6") || String::IEquals(gScenarioFileName, "n america - extreme hawaiian island.sea"))