浏览代码

CPathfinder: shorten options struct declaration

ArseniyShestakov 10 年之前
父节点
当前提交
92fee1bdbf
共有 1 个文件被更改,包括 1 次插入2 次删除
  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;