diff --git a/source/glest_game/ai/ai.cpp b/source/glest_game/ai/ai.cpp index 9efe8d4e..b57ad85d 100644 --- a/source/glest_game/ai/ai.cpp +++ b/source/glest_game/ai/ai.cpp @@ -474,7 +474,7 @@ void Ai::sendScoutPatrol(){ if(possibleTargetFound == false){ startLoc= (startLoc + 1) % aiInterface->getMapMaxPlayers(); pos= aiInterface->getStartLocation(startLoc); - printf("och noe\n"); + //printf("normal target used\n"); } if(aiInterface->getHomeLocation() != pos){ diff --git a/source/glest_game/ai/path_finder.cpp b/source/glest_game/ai/path_finder.cpp index f7579e23..a91ee8ef 100644 --- a/source/glest_game/ai/path_finder.cpp +++ b/source/glest_game/ai/path_finder.cpp @@ -46,7 +46,7 @@ const int PathFinder::pathFindRefresh = 10; const int PathFinder::pathFindBailoutRadius = 20; const int PathFinder::pathFindExtendRefreshForNodeCount = 25; const int PathFinder::pathFindExtendRefreshNodeCountMin = 40; -const int PathFinder::pathFindExtendRefreshNodeCountMax = 60; +const int PathFinder::pathFindExtendRefreshNodeCountMax = 40; PathFinder::PathFinder() { for(int i = 0; i < GameConstants::maxPlayers; ++i) {