File diff r24300:dc74d00736ca → r24301:7ff717a1243f
src/saveload/afterload.cpp
Show inline comments
 
@@ -2830,18 +2830,6 @@ bool AfterLoadGame()
 
	 * which is done by StartupEngines(). */
 
	if (gcf_res != GLC_ALL_GOOD) StartupEngines();
 

	
 
	if (IsSavegameVersionBefore(SLV_166)) {
 
		/* Update cargo acceptance map of towns. */
 
		for (TileIndex t = 0; t < map_size; t++) {
 
			if (!IsTileType(t, MP_HOUSE)) continue;
 
			Town::Get(GetTownIndex(t))->cargo_accepted.Add(t);
 
		}
 

	
 
		for (Town *town : Town::Iterate()) {
 
			UpdateTownCargoes(town);
 
		}
 
	}
 

	
 
	/* The road owner of standard road stops was not properly accounted for. */
 
	if (IsSavegameVersionBefore(SLV_172)) {
 
		for (TileIndex t = 0; t < map_size; t++) {