File diff r24173:f85cb81531a9 → r24174:493f00d11e30
src/saveload/afterload.cpp
Show inline comments
 
@@ -3116,12 +3116,20 @@ bool AfterLoadGame()
 
			if (IsTileType(t, MP_STATION)) {
 
				if (IsDock(t) || IsOilRig(t)) Station::GetByTile(t)->ship_station.Add(t);
 
			}
 
		}
 
	}
 

	
 
	if (IsSavegameVersionUntil(SLV_ENDING_YEAR)) {
 
		for (TileIndex t = 0; t < map_size; t++) {
 
			if (IsTileType(t, MP_TUNNELBRIDGE) && GetTunnelBridgeTransportType(t) != TRANSPORT_ROAD) {
 
				SetRoadTypes(t, INVALID_ROADTYPE, INVALID_ROADTYPE);
 
			}
 
		}
 
	}
 

	
 
	/* Update station docking tiles. */
 
	AfterLoadScanDockingTiles();
 

	
 
	/* Compute station catchment areas. This is needed here in case UpdateStationAcceptance is called below. */
 
	Station::RecomputeCatchmentForAll();