mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 06:23:04 +01:00
Make identifier fixing more conservative. Bump park version
It is still possible to make a park with the legacy names in a version 7 as we don't fail to start the game with the old identifiers loaded
This commit is contained in:
@@ -66,10 +66,10 @@ using namespace OpenRCT2;
|
||||
namespace OpenRCT2
|
||||
{
|
||||
// Current version that is saved.
|
||||
constexpr uint32_t PARK_FILE_CURRENT_VERSION = 0x7;
|
||||
constexpr uint32_t PARK_FILE_CURRENT_VERSION = 0x8;
|
||||
|
||||
// The minimum version that is forwards compatible with the current version.
|
||||
constexpr uint32_t PARK_FILE_MIN_VERSION = 0x7;
|
||||
constexpr uint32_t PARK_FILE_MIN_VERSION = 0x8;
|
||||
|
||||
namespace ParkFileChunkType
|
||||
{
|
||||
@@ -300,7 +300,7 @@ namespace OpenRCT2
|
||||
ObjectEntryDescriptor desc;
|
||||
desc.Type = objectType;
|
||||
auto identifier = cs.Read<std::string>();
|
||||
if (version <= 2)
|
||||
if (version <= 7)
|
||||
{
|
||||
auto newIdentifier = MapToNewObjectIdentifier(identifier);
|
||||
if (!newIdentifier.empty())
|
||||
|
||||
Reference in New Issue
Block a user