From cab252c220e6318c3f2724f6fc2c6e5c0cf6e902 Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Fri, 11 Feb 2011 16:43:57 +0000 Subject: [PATCH] - more expansion of the maximum distance the pathfinder will calculate, this is required for proper play with cliffs --- source/glest_game/ai/path_finder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/glest_game/ai/path_finder.cpp b/source/glest_game/ai/path_finder.cpp index fa9d7534..3a22be01 100644 --- a/source/glest_game/ai/path_finder.cpp +++ b/source/glest_game/ai/path_finder.cpp @@ -39,7 +39,7 @@ namespace Glest{ namespace Game{ const int PathFinder::maxFreeSearchRadius = 10; //const int PathFinder::pathFindNodesMax= 400; -const int PathFinder::pathFindNodesMax = 500; +const int PathFinder::pathFindNodesMax = 1500; const int PathFinder::pathFindRefresh = 10; const int PathFinder::pathFindBailoutRadius = 20;