1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

Fix loading saved games (add ESerializationVersion)

This commit is contained in:
Kris-Ja
2024-03-23 22:03:06 +01:00
parent 05bbb45824
commit ff35a27176
2 changed files with 7 additions and 1 deletions

View File

@@ -37,6 +37,7 @@ enum class ESerializationVersion : int32_t
DESTROYED_OBJECTS, // 834 +list of objects destroyed by player
CAMPAIGN_MAP_TRANSLATIONS, // 835 +campaigns include translations for its maps
JSON_FLAGS, // 836 json uses new format for flags
MANA_LIMIT, // 837 change MANA_PER_KNOWLEGDE to percentage
CURRENT = JSON_FLAGS
CURRENT = MANA_LIMIT
};