diff options
-rw-r--r-- | src/saveload/saveload.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/saveload.h b/src/saveload/saveload.h index 77cd3fb35..1ad885009 100644 --- a/src/saveload/saveload.h +++ b/src/saveload/saveload.h @@ -88,7 +88,7 @@ enum SLRefType { }; /** Highest possible savegame version. */ -#define SL_MAX_VERSION 255 +#define SL_MAX_VERSION UINT16_MAX /** Flags of a chunk. */ enum ChunkType { |