From 7c5af02b7844cc09920776e68e70ba67d087588e Mon Sep 17 00:00:00 2001 From: ArseniyShestakov Date: Thu, 12 Feb 2015 13:19:22 +0300 Subject: [PATCH] Fix saving of player's quests This commit break saves compatibility --- lib/CGameState.h | 2 +- lib/Connection.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/CGameState.h b/lib/CGameState.h index 34be5eb55..51a7a5cde 100644 --- a/lib/CGameState.h +++ b/lib/CGameState.h @@ -183,7 +183,7 @@ public: template 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; diff --git a/lib/Connection.h b/lib/Connection.h index 006275106..c0c2d091d 100644 --- a/lib/Connection.h +++ b/lib/Connection.h @@ -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;