Skip to content

Commit

Permalink
Remove cities amount check on game load
Browse files Browse the repository at this point in the history
  • Loading branch information
roginvs committed Jun 4, 2024
1 parent e119aa4 commit e676089
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/worldmap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1161,13 +1161,6 @@ int wmWorldMap_load(File* stream)
int numCities;
if (fileReadInt32(stream, &numCities) == -1) return -1;

if (gCitiesLimitFix && numCities != wmMaxAreaNum) {
debugPrint("WorldMap Error: Cities limit fix is enabled, "
"but the number of cities in the save file is different from "
"the number of cities in the worldmap.txt file.");
return -1;
}

for (int areaIdx = 0; areaIdx < numCities; areaIdx++) {
CityInfo* city = &(wmAreaInfoList[areaIdx]);

Expand Down

0 comments on commit e676089

Please sign in to comment.