diff options
-rw-r--r-- | rail_cmd.c | 6 | ||||
-rw-r--r-- | road_cmd.c | 2 | ||||
-rw-r--r-- | station_cmd.c | 2 | ||||
-rw-r--r-- | tunnelbridge_cmd.c | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/rail_cmd.c b/rail_cmd.c index 092ed6f77..a3124570c 100644 --- a/rail_cmd.c +++ b/rail_cmd.c @@ -916,9 +916,9 @@ static int32 DoConvertRail(TileIndex tile, RailType totype, bool exec) return _price.build_rail / 2; } -extern int32 DoConvertStationRail(TileIndex tile, uint totype, bool exec); -extern int32 DoConvertStreetRail(TileIndex tile, uint totype, bool exec); -extern int32 DoConvertTunnelBridgeRail(TileIndex tile, uint totype, bool exec); +extern int32 DoConvertStationRail(TileIndex tile, RailType totype, bool exec); +extern int32 DoConvertStreetRail(TileIndex tile, RailType totype, bool exec); +extern int32 DoConvertTunnelBridgeRail(TileIndex tile, RailType totype, bool exec); /** Convert one rail type to the other. You can convert normal rail to * monorail/maglev easily or vice-versa. diff --git a/road_cmd.c b/road_cmd.c index fc603c7e3..2614c842c 100644 --- a/road_cmd.c +++ b/road_cmd.c @@ -419,7 +419,7 @@ do_clear:; return cost; } -int32 DoConvertStreetRail(TileIndex tile, uint totype, bool exec) +int32 DoConvertStreetRail(TileIndex tile, RailType totype, bool exec) { // not a railroad crossing? if (!IsLevelCrossing(tile)) return CMD_ERROR; diff --git a/station_cmd.c b/station_cmd.c index 17edbd950..8dcc1d700 100644 --- a/station_cmd.c +++ b/station_cmd.c @@ -1243,7 +1243,7 @@ static int32 RemoveRailroadStation(Station *st, TileIndex tile, uint32 flags) return cost; } -int32 DoConvertStationRail(TileIndex tile, uint totype, bool exec) +int32 DoConvertStationRail(TileIndex tile, RailType totype, bool exec) { const Station* st = GetStationByTile(tile); diff --git a/tunnelbridge_cmd.c b/tunnelbridge_cmd.c index 9d9001515..b53388f2b 100644 --- a/tunnelbridge_cmd.c +++ b/tunnelbridge_cmd.c @@ -716,7 +716,7 @@ static int32 ClearTile_TunnelBridge(TileIndex tile, byte flags) return CMD_ERROR; } -int32 DoConvertTunnelBridgeRail(TileIndex tile, uint totype, bool exec) +int32 DoConvertTunnelBridgeRail(TileIndex tile, RailType totype, bool exec) { TileIndex endtile; uint length; |