Ignore cities count if CitiesLimitFix is enabled
This commit is contained in:
parent
252d7fe83e
commit
22a864a0c9
|
@ -2530,7 +2530,10 @@ static int wmAreaInit()
|
||||||
|
|
||||||
configFree(&cfg);
|
configFree(&cfg);
|
||||||
|
|
||||||
if (wmMaxAreaNum != CITY_COUNT) {
|
bool isCitiesLimitFixEnabled = true;
|
||||||
|
configGetBool(&gSfallConfig, SFALL_CONFIG_MISC_KEY, SFALL_CONFIG_CITIES_LIMIT_FIX, &isCitiesLimitFixEnabled);
|
||||||
|
|
||||||
|
if (!isCitiesLimitFixEnabled && wmMaxAreaNum != CITY_COUNT) {
|
||||||
showMesageBox("\nwmAreaInit::Error loading Cities!");
|
showMesageBox("\nwmAreaInit::Error loading Cities!");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue