mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
Fix saving of player's quests
This commit break saves compatibility
This commit is contained in:
parent
1396476869
commit
7c5af02b78
@ -183,7 +183,7 @@ public:
|
|||||||
template <typename Handler> void serialize(Handler &h, const int version)
|
template <typename Handler> void serialize(Handler &h, const int version)
|
||||||
{
|
{
|
||||||
h & color & human & team & resources & status;
|
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 & getBonusList(); //FIXME FIXME FIXME
|
||||||
h & status & daysWithoutCastle;
|
h & status & daysWithoutCastle;
|
||||||
h & enteredLosingCheatCode & enteredWinningCheatCode;
|
h & enteredLosingCheatCode & enteredWinningCheatCode;
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
#include "mapping/CCampaignHandler.h" //for CCampaignState
|
#include "mapping/CCampaignHandler.h" //for CCampaignState
|
||||||
#include "rmg/CMapGenerator.h" // for CMapGenOptions
|
#include "rmg/CMapGenerator.h" // for CMapGenOptions
|
||||||
|
|
||||||
const ui32 version = 752;
|
const ui32 version = 753;
|
||||||
const ui32 minSupportedVersion = version;
|
const ui32 minSupportedVersion = version;
|
||||||
|
|
||||||
class CISer;
|
class CISer;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user