mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-27 16:39:09 +00:00
(svn r4265) - Fix: compile warning on VS2005 (parameter 2 different from declaration)
This commit is contained in:
@@ -916,9 +916,9 @@ static int32 DoConvertRail(TileIndex tile, RailType totype, bool exec)
|
|||||||
return _price.build_rail / 2;
|
return _price.build_rail / 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern int32 DoConvertStationRail(TileIndex tile, uint totype, bool exec);
|
extern int32 DoConvertStationRail(TileIndex tile, RailType totype, bool exec);
|
||||||
extern int32 DoConvertStreetRail(TileIndex tile, uint totype, bool exec);
|
extern int32 DoConvertStreetRail(TileIndex tile, RailType totype, bool exec);
|
||||||
extern int32 DoConvertTunnelBridgeRail(TileIndex tile, uint 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
|
/** Convert one rail type to the other. You can convert normal rail to
|
||||||
* monorail/maglev easily or vice-versa.
|
* monorail/maglev easily or vice-versa.
|
||||||
|
@@ -419,7 +419,7 @@ do_clear:;
|
|||||||
return cost;
|
return cost;
|
||||||
}
|
}
|
||||||
|
|
||||||
int32 DoConvertStreetRail(TileIndex tile, uint totype, bool exec)
|
int32 DoConvertStreetRail(TileIndex tile, RailType totype, bool exec)
|
||||||
{
|
{
|
||||||
// not a railroad crossing?
|
// not a railroad crossing?
|
||||||
if (!IsLevelCrossing(tile)) return CMD_ERROR;
|
if (!IsLevelCrossing(tile)) return CMD_ERROR;
|
||||||
|
@@ -1243,7 +1243,7 @@ static int32 RemoveRailroadStation(Station *st, TileIndex tile, uint32 flags)
|
|||||||
return cost;
|
return cost;
|
||||||
}
|
}
|
||||||
|
|
||||||
int32 DoConvertStationRail(TileIndex tile, uint totype, bool exec)
|
int32 DoConvertStationRail(TileIndex tile, RailType totype, bool exec)
|
||||||
{
|
{
|
||||||
const Station* st = GetStationByTile(tile);
|
const Station* st = GetStationByTile(tile);
|
||||||
|
|
||||||
|
@@ -716,7 +716,7 @@ static int32 ClearTile_TunnelBridge(TileIndex tile, byte flags)
|
|||||||
return CMD_ERROR;
|
return CMD_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
int32 DoConvertTunnelBridgeRail(TileIndex tile, uint totype, bool exec)
|
int32 DoConvertTunnelBridgeRail(TileIndex tile, RailType totype, bool exec)
|
||||||
{
|
{
|
||||||
TileIndex endtile;
|
TileIndex endtile;
|
||||||
uint length;
|
uint length;
|
||||||
|
Reference in New Issue
Block a user