Browse Source

VCAI: add destinationTeleport to serialization

ArseniyShestakov 10 years ago
parent
commit
f7a999f0f3
1 changed files with 2 additions and 1 deletions
  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;