Update object ID for people who used the development version

This commit is contained in:
Gymnasiast 2022-11-23 18:22:22 +01:00
parent 713a05f203
commit bd11230d46
No known key found for this signature in database
GPG Key ID: DBFFF47AB2CA3EDD
2 changed files with 8 additions and 1 deletions

View File

@ -338,6 +338,13 @@ namespace OpenRCT2
identifier = "openrct2.ride.single_rail_coaster"; identifier = "openrct2.ride.single_rail_coaster";
} }
} }
else if (version <= 14)
{
if (identifier == "openrct2.ride.alp1")
{
identifier = "openrct2.ride.alpine_coaster";
}
}
desc.Identifier = identifier; desc.Identifier = identifier;
desc.Version = cs.Read<std::string>(); desc.Version = cs.Read<std::string>();

View File

@ -8,7 +8,7 @@ struct ObjectRepositoryItem;
namespace OpenRCT2 namespace OpenRCT2
{ {
// Current version that is saved. // 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. // The minimum version that is forwards compatible with the current version.
constexpr uint32_t PARK_FILE_MIN_VERSION = 14; constexpr uint32_t PARK_FILE_MIN_VERSION = 14;