equal
deleted
inserted
replaced
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 { |