src/oldloader.cpp
changeset 5967 d862ebaf5035
parent 5959 6a4c261987c3
child 5984 fbef81292ff9
equal deleted inserted replaced
5966:5ead6e7516fd 5967:d862ebaf5035
   312 		if (st->train_tile != 0 && GetRailStationAxis(st->train_tile) != AXIS_X) {
   312 		if (st->train_tile != 0 && GetRailStationAxis(st->train_tile) != AXIS_X) {
   313 			SwapT(&st->trainst_w, &st->trainst_h);
   313 			SwapT(&st->trainst_w, &st->trainst_h);
   314 		}
   314 		}
   315 
   315 
   316 		/* Check if there is a bus or truck station, and convert to new format */
   316 		/* Check if there is a bus or truck station, and convert to new format */
   317 		if (st->bus_tile_obsolete != 0) st->bus_stops = new RoadStop(st->bus_tile_obsolete, st->index);
   317 		if (st->bus_tile_obsolete != 0)   st->bus_stops   = new RoadStop(st->bus_tile_obsolete);
   318 
   318 		if (st->lorry_tile_obsolete != 0) st->truck_stops = new RoadStop(st->lorry_tile_obsolete);
   319 		if (st->lorry_tile_obsolete != 0) st->truck_stops = new RoadStop(st->lorry_tile_obsolete, st->index);
       
   320 
       
   321 	}
   319 	}
   322 }
   320 }
   323 
   321 
   324 static void FixOldVehicles(void)
   322 static void FixOldVehicles(void)
   325 {
   323 {