Changeset - r3435:20b18f11a39a
[Not reviewed]
master
0 4 0
Darkvater - 19 years ago 2006-04-03 18:11:42
darkvater@openttd.org
(svn r4265) - Fix: compile warning on VS2005 (parameter 2 different from declaration)
4 files changed with 6 insertions and 6 deletions:
0 comments (0 inline, 0 general)
rail_cmd.c
Show inline comments
 
@@ -916,9 +916,9 @@ static int32 DoConvertRail(TileIndex til
 
	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.
road_cmd.c
Show inline comments
 
@@ -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;
station_cmd.c
Show inline comments
 
@@ -1243,7 +1243,7 @@ static int32 RemoveRailroadStation(Stati
 
	return cost;
 
}
 

	
 
int32 DoConvertStationRail(TileIndex tile, uint totype, bool exec)
 
int32 DoConvertStationRail(TileIndex tile, RailType totype, bool exec)
 
{
 
	const Station* st = GetStationByTile(tile);
 

	
tunnelbridge_cmd.c
Show inline comments
 
@@ -716,7 +716,7 @@ static int32 ClearTile_TunnelBridge(Tile
 
	return CMD_ERROR;
 
}
 

	
 
int32 DoConvertTunnelBridgeRail(TileIndex tile, uint totype, bool exec)
 
int32 DoConvertTunnelBridgeRail(TileIndex tile, RailType totype, bool exec)
 
{
 
	TileIndex endtile;
 
	uint length;
0 comments (0 inline, 0 general)