From be52f6457ec39cf349b1a92ab28ab074aa63590f Mon Sep 17 00:00:00 2001 From: Michael Steenbeek Date: Thu, 11 Aug 2022 18:14:06 +0200 Subject: [PATCH] Fix .park scenarios messing up Other Parks tab --- distribution/changelog.txt | 1 + src/openrct2/scenario/ScenarioRepository.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/distribution/changelog.txt b/distribution/changelog.txt index 1633a6c32a..117ee180e8 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -32,6 +32,7 @@ - Fix: [#17605] Crash when opening parks which have had objects removed externally. - Fix: [#17639] When building upside down, the special elements list contains many items twice (original bug). - Fix: [#17703] (undefined string) when building on invalid height. +- Fix: [#17776] “Other Parks” tab uses separate lists for SC4/SC6 and .park scenarios. 0.4.1 (2022-07-04) ------------------------------------------------------------------------ diff --git a/src/openrct2/scenario/ScenarioRepository.h b/src/openrct2/scenario/ScenarioRepository.h index 9266471d7d..d7d4a0e0ec 100644 --- a/src/openrct2/scenario/ScenarioRepository.h +++ b/src/openrct2/scenario/ScenarioRepository.h @@ -44,7 +44,7 @@ struct scenario_index_entry // Category / sequence uint8_t category; ScenarioSource source_game; - int16_t source_index; + int16_t source_index = -1; uint16_t sc_id; // Objective