File diff r18977:1c3e0e63f950 → r18978:7e76e962d9b9
src/saveload/company_sl.cpp
Show inline comments
 
@@ -136,13 +136,13 @@ void AfterLoadCompanyStats()
 
				}
 
				break;
 
			}
 

	
 
			case MP_STATION:
 
				c = Company::GetIfValid(GetTileOwner(tile));
 
				if (c != NULL && GetStationType(tile) != STATION_AIRPORT) c->infrastructure.station++;
 
				if (c != NULL && GetStationType(tile) != STATION_AIRPORT && !IsBuoy(tile)) c->infrastructure.station++;
 

	
 
				switch (GetStationType(tile)) {
 
					case STATION_RAIL:
 
					case STATION_WAYPOINT:
 
						if (c != NULL && !IsStationTileBlocked(tile)) c->infrastructure.rail[GetRailType(tile)]++;
 
						break;