mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-21 17:17:06 +02:00
Add missing field to serialization
This commit is contained in:
parent
227e403e88
commit
4ae81cbac0
@ -129,6 +129,8 @@ struct DLL_LINKAGE Reward final
|
||||
h & removeObject;
|
||||
h & manaPercentage;
|
||||
h & movePercentage;
|
||||
if (h.version >= Handler::Version::REWARDABLE_GUARDS)
|
||||
h & guards;
|
||||
h & heroExperience;
|
||||
h & heroLevel;
|
||||
h & manaDiff;
|
||||
|
@ -67,6 +67,7 @@ enum class ESerializationVersion : int32_t
|
||||
REMOVE_OBJECT_TYPENAME, // 868 - remove typename from CGObjectInstance
|
||||
REMOVE_VLC_POINTERS, // 869 removed remaining pointers to VLC entities
|
||||
FOLDER_NAME_REWORK, // 870 - rework foldername
|
||||
REWARDABLE_GUARDS, // 871 - fix missing serialization of guards in rewardable objects
|
||||
|
||||
CURRENT = FOLDER_NAME_REWORK
|
||||
CURRENT = REWARDABLE_GUARDS
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user