From b1cc8592fdb13cd1a1735d839fff66c3a9b3bfef Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Sat, 22 Sep 2012 17:51:42 +0000 Subject: [PATCH] - deprecated the ini setting: EnableFastPathFinder --- source/glest_game/ai/path_finder.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/glest_game/ai/path_finder.cpp b/source/glest_game/ai/path_finder.cpp index 99151964..33f69550 100644 --- a/source/glest_game/ai/path_finder.cpp +++ b/source/glest_game/ai/path_finder.cpp @@ -229,7 +229,8 @@ TravelState PathFinder::findPath(Unit *unit, const Vec2i &finalPos, bool *wasStu uint32 searched_node_count = 0; minorDebugPathfinder = false; - bool enableFastPathfinder = Config::getInstance().getBool("EnableFastPathFinder","false"); + //bool enableFastPathfinder = Config::getInstance().getBool("EnableFastPathFinder","false"); + bool enableFastPathfinder = false; if(enableFastPathfinder == true) { if(minorDebugPathfinder) printf("Fast Pathfind Unit [%d - %s] from = %s to = %s frameIndex = %d\n",unit->getId(),unit->getType()->getName().c_str(),unit->getPos().getString().c_str(),finalPos.getString().c_str(),frameIndex);