From 56af97cb341057b806f9f99b6900f61cac952d82 Mon Sep 17 00:00:00 2001 From: J0anJosep Date: Wed, 16 Jun 2021 19:40:46 +0200 Subject: [PATCH] Change: This is a testing version, so make it difficult to load savegames with other versions of OpenTTD. --- src/saveload/saveload.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/saveload/saveload.h b/src/saveload/saveload.h index f498fa2839..e14d297b75 100644 --- a/src/saveload/saveload.h +++ b/src/saveload/saveload.h @@ -399,6 +399,8 @@ enum SaveLoadVersion : uint16_t { SLV_EXTENDED_DEPOTS, ///< 321 PR#8480 Extended depots for rail, road and water transport. + SLV_PATCHED = UINT16_MAX - 6, ///< Make it difficult to load any savegame made with + // this patched version in any other version of OpenTTD (unless it uses the same saveload version trick). SL_MAX_VERSION, ///< Highest possible saveload version };