src/oldloader.cpp
changeset 5716 7176379debd0
parent 5708 4c4c5ec2bed6
child 5733 388bb9dcb79b
equal deleted inserted replaced
5715:45fe36572435 5716:7176379debd0
   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 {