mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r4265) - Fix: compile warning on VS2005 (parameter 2 different from declaration)
This commit is contained in:
parent
857ccb97c9
commit
fc68881906
@ -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.
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user