瀏覽代碼

VCAI: add destinationTeleport to serialization

ArseniyShestakov 10 年之前
父節點
當前提交
f7a999f0f3
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      AI/VCAI/VCAI.h

+ 2 - 1
AI/VCAI/VCAI.h

@@ -349,7 +349,8 @@ public:
 
 	template <typename Handler> void serializeInternal(Handler &h, const int version)
 	{
-		h & knownTeleportChannels & knownSubterraneanGates & townVisitsThisWeek & lockedHeroes & reservedHeroesMap; //FIXME: cannot instantiate abstract class
+		h & knownTeleportChannels & knownSubterraneanGates & destinationTeleport;
+		h & townVisitsThisWeek & lockedHeroes & reservedHeroesMap; //FIXME: cannot instantiate abstract class
 		h & visitableObjs & alreadyVisited & reservedObjs;
 		h & saving & status & battlename;
 		h & heroesUnableToExplore;