Parcourir la source

Fixed: 0001854: Rewarding objects loose their state after game is reloaded (breaks savegames)

rhn il y a 11 ans
Parent
commit
aba3421e0a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      lib/mapObjects/CGHeroInstance.h

+ 1 - 1
lib/mapObjects/CGHeroInstance.h

@@ -222,7 +222,7 @@ public:
 		h & exp & level & name & biography & portrait & mana & secSkills & movement
 			& sex & inTownGarrison & spells & patrol & moveDir & skillsInfo;
 		h & visitedTown & boat;
-		h & type & specialty & commander;
+		h & type & specialty & commander & visitedObjects;
 		BONUS_TREE_DESERIALIZATION_FIX
 		//visitied town pointer will be restored by map serialization method
 	}