1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Merge pull request #86 from ArseniyShestakov/fixQuestSaving

Fix saving of player's quests and bump save format version
This commit is contained in:
ArseniyShestakov 2015-03-10 18:01:38 +03:00
commit 2145be281a
2 changed files with 2 additions and 2 deletions

View File

@ -183,7 +183,7 @@ public:
template <typename Handler> void serialize(Handler &h, const int version)
{
h & color & human & team & resources & status;
h & heroes & towns & availableHeroes & dwellings & visitedObjects;
h & heroes & towns & availableHeroes & dwellings & quests & visitedObjects;
h & getBonusList(); //FIXME FIXME FIXME
h & status & daysWithoutCastle;
h & enteredLosingCheatCode & enteredWinningCheatCode;

View File

@ -27,7 +27,7 @@
#include "mapping/CCampaignHandler.h" //for CCampaignState
#include "rmg/CMapGenerator.h" // for CMapGenOptions
const ui32 version = 752;
const ui32 version = 753;
const ui32 minSupportedVersion = version;
class CISer;