From bd11230d462e5cb99c7f55c00bbc1750ad2cb07a Mon Sep 17 00:00:00 2001 From: Gymnasiast Date: Wed, 23 Nov 2022 18:22:22 +0100 Subject: [PATCH] Update object ID for people who used the development version --- src/openrct2/park/ParkFile.cpp | 7 +++++++ src/openrct2/park/ParkFile.h | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/openrct2/park/ParkFile.cpp b/src/openrct2/park/ParkFile.cpp index 9a5eb9ce97..4437ffbe88 100644 --- a/src/openrct2/park/ParkFile.cpp +++ b/src/openrct2/park/ParkFile.cpp @@ -338,6 +338,13 @@ namespace OpenRCT2 identifier = "openrct2.ride.single_rail_coaster"; } } + else if (version <= 14) + { + if (identifier == "openrct2.ride.alp1") + { + identifier = "openrct2.ride.alpine_coaster"; + } + } desc.Identifier = identifier; desc.Version = cs.Read(); diff --git a/src/openrct2/park/ParkFile.h b/src/openrct2/park/ParkFile.h index d0c172a532..5594368119 100644 --- a/src/openrct2/park/ParkFile.h +++ b/src/openrct2/park/ParkFile.h @@ -8,7 +8,7 @@ struct ObjectRepositoryItem; namespace OpenRCT2 { // Current version that is saved. - constexpr uint32_t PARK_FILE_CURRENT_VERSION = 14; + constexpr uint32_t PARK_FILE_CURRENT_VERSION = 15; // The minimum version that is forwards compatible with the current version. constexpr uint32_t PARK_FILE_MIN_VERSION = 14;