Pārlūkot izejas kodu

CPathfinder: shorten options struct declaration

ArseniyShestakov 10 gadi atpakaļ
vecāks
revīzija
92fee1bdbf
1 mainītis faili ar 1 papildinājumiem un 2 dzēšanām
  1. 1 2
      lib/CPathfinder.h

+ 1 - 2
lib/CPathfinder.h

@@ -84,8 +84,7 @@ private:
 		bool useTeleportWhirlpool; // Force enabled if hero protected or unaffected (have one stack of one creature)
 		bool useTeleportWhirlpool; // Force enabled if hero protected or unaffected (have one stack of one creature)
 
 
 		PathfinderOptions();
 		PathfinderOptions();
-	};
-	PathfinderOptions options;
+	} options;
 
 
 	CPathsInfo &out;
 	CPathsInfo &out;
 	const CGHeroInstance *hero;
 	const CGHeroInstance *hero;