- fix crc check so it does not add special faction names (like random, etc)
This commit is contained in:
parent
ac83b1a898
commit
68a906ab2a
|
@ -1209,10 +1209,9 @@ void MenuStateConnectedGame::update() {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
factionCRCList.push_back(make_pair(factionName,factionCRC));
|
||||
}
|
||||
}
|
||||
//console.addLine("Found factions: " + intToStr(factionCRCList.size()));
|
||||
}
|
||||
|
||||
|
|
|
@ -2332,9 +2332,9 @@ void MenuStateCustomGame::loadGameSettings(GameSettings *gameSettings) {
|
|||
if(factionCRC == 0) {
|
||||
factionCRC = getFolderTreeContentsCheckSumRecursively(config.getPathListForType(ptTechs,""), "/" + gameSettings->getTech() + "/factions/" + factionName + "/*", ".xml", NULL, true);
|
||||
}
|
||||
}
|
||||
factionCRCList.push_back(make_pair(factionName,factionCRC));
|
||||
}
|
||||
}
|
||||
//console.addLine("Found factions: " + intToStr(factionCRCList.size()));
|
||||
lastCheckedCRCTechtreeName = gameSettings->getTech();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue