Browse Source

CPathfinder: shorten options struct declaration

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