mirror of
https://github.com/glest/glest-source.git
synced 2025-08-12 11:24:00 +02:00
- lessen pathfinder max nodes to see if this gives better performance
This commit is contained in:
@@ -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;
|
||||
|
||||
|
@@ -299,7 +299,7 @@ void World::updateAllFactionUnits() {
|
||||
}
|
||||
}
|
||||
if(workThreadsFinished == false) {
|
||||
sleep(0);
|
||||
//sleep(0);
|
||||
}
|
||||
else {
|
||||
break;
|
||||
|
Reference in New Issue
Block a user