浏览代码

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

rhn 11 年之前
父节点
当前提交
aba3421e0a
共有 1 个文件被更改,包括 1 次插入1 次删除
  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
 	}