Ver código fonte

CPathfinder: shorten options struct declaration

ArseniyShestakov 10 anos atrás
pai
commit
92fee1bdbf
1 arquivos alterados com 1 adições e 2 exclusões
  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)
 
 		PathfinderOptions();
-	};
-	PathfinderOptions options;
+	} options;
 
 	CPathsInfo &out;
 	const CGHeroInstance *hero;