- lessen pathfinder max nodes to see if this gives better performance

This commit is contained in:
Mark Vejvoda 2011-03-19 01:31:49 +00:00
parent 505abbd1ec
commit d21eeeae07
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ namespace Glest{ namespace Game{
const int PathFinder::maxFreeSearchRadius = 10;
//const int PathFinder::pathFindNodesMax= 400;
int PathFinder::pathFindNodesMax = 350;
int PathFinder::pathFindNodesMax = 300;
const int PathFinder::pathFindRefresh = 10;
const int PathFinder::pathFindBailoutRadius = 20;

View File

@ -299,7 +299,7 @@ void World::updateAllFactionUnits() {
}
}
if(workThreadsFinished == false) {
sleep(0);
//sleep(0);
}
else {
break;