mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
fixed serialization for older savegames
This commit is contained in:
@@ -303,5 +303,7 @@ public:
|
||||
h & visitedObjects;
|
||||
BONUS_TREE_DESERIALIZATION_FIX
|
||||
//visitied town pointer will be restored by map serialization method
|
||||
if(version < 777 && !h.saving)
|
||||
recreateSecondarySkillsBonuses();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user