- attempt disabling threaded faction pathfinder precache
This commit is contained in:
parent
4bce94fbbb
commit
1b68053397
|
@ -247,7 +247,7 @@ void Faction::init(
|
||||||
texture->load(data_path + "data/core/faction_textures/faction"+intToStr(startLocationIndex)+".tga");
|
texture->load(data_path + "data/core/faction_textures/faction"+intToStr(startLocationIndex)+".tga");
|
||||||
|
|
||||||
if( game->getGameSettings()->getPathFinderType() == pfBasic &&
|
if( game->getGameSettings()->getPathFinderType() == pfBasic &&
|
||||||
Config::getInstance().getBool("EnableFactionWorkerThreads","true") == true) {
|
Config::getInstance().getBool("EnableFactionWorkerThreads","false") == true) {
|
||||||
if(workerThread != NULL) {
|
if(workerThread != NULL) {
|
||||||
workerThread->signalQuit();
|
workerThread->signalQuit();
|
||||||
if(workerThread->shutdownAndWait() == true) {
|
if(workerThread->shutdownAndWait() == true) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user