File diff r12468:caa401e7a684 → r12469:4215a4c6a0c1
src/saveload/afterload.cpp
Show inline comments
 
@@ -605,12 +605,15 @@ bool AfterLoadGame()
 
	for (TileIndex t = 0; t < map_size; t++) {
 
		switch (GetTileType(t)) {
 
			case MP_STATION: {
 
				Station *st = Station::GetByTile(t);
 
				if (st == NULL) break;
 

	
 
				/* Set up station spread; waypoints do not have one */
 
				st->rect.BeforeAddTile(t, StationRect::ADD_FORCE);
 

	
 
				switch (GetStationType(t)) {
 
					case STATION_TRUCK:
 
					case STATION_BUS:
 
						if (CheckSavegameVersion(6)) {
 
							/* From this version on there can be multiple road stops of the
 
							 * same type per station. Convert the existing stops to the new