- defaulted scenario's to regular pathfinder while allowfor for a property setting to change it to routeplanner
This commit is contained in:
parent
760becb7ad
commit
f79d34b4a4
|
@ -239,7 +239,8 @@ void MenuStateScenario::loadGameSettings(const ScenarioInfo *scenarioInfo, GameS
|
||||||
|
|
||||||
gameSettings->setFactionCount(factionCount);
|
gameSettings->setFactionCount(factionCount);
|
||||||
gameSettings->setFogOfWar(scenarioInfo->fogOfWar);
|
gameSettings->setFogOfWar(scenarioInfo->fogOfWar);
|
||||||
gameSettings->setPathFinderType(pfRoutePlanner);
|
|
||||||
|
gameSettings->setPathFinderType(static_cast<PathFinderType>(Config::getInstance().getInt("ScenarioPathFinderType",intToStr(pfBasic).c_str())));
|
||||||
}
|
}
|
||||||
|
|
||||||
ControlType MenuStateScenario::strToControllerType(const string &str){
|
ControlType MenuStateScenario::strToControllerType(const string &str){
|
||||||
|
|
Loading…
Reference in New Issue
Block a user