Codechange: Silence warnings about intentionally unused parameters.
This commit is contained in:
@@ -2566,7 +2566,7 @@ void DrawTrainDepotSprite(int x, int y, int dir, RailType railtype)
|
||||
DrawRailTileSeqInGUI(x, y, dts, offset, 0, palette);
|
||||
}
|
||||
|
||||
static int GetSlopePixelZ_Track(TileIndex tile, uint x, uint y, bool ground_vehicle)
|
||||
static int GetSlopePixelZ_Track(TileIndex tile, uint x, uint y, bool)
|
||||
{
|
||||
if (IsPlainRail(tile)) {
|
||||
int z;
|
||||
@@ -2709,7 +2709,7 @@ set_ground:
|
||||
}
|
||||
|
||||
|
||||
static TrackStatus GetTileTrackStatus_Track(TileIndex tile, TransportType mode, uint sub_mode, DiagDirection side)
|
||||
static TrackStatus GetTileTrackStatus_Track(TileIndex tile, TransportType mode, uint, DiagDirection side)
|
||||
{
|
||||
/* Case of half tile slope with water. */
|
||||
if (mode == TRANSPORT_WATER && IsPlainRail(tile) && GetRailGroundType(tile) == RAIL_GROUND_WATER && IsSlopeWithOneCornerRaised(GetTileSlope(tile))) {
|
||||
@@ -3034,7 +3034,7 @@ static CommandCost TestAutoslopeOnRailTile(TileIndex tile, uint flags, int z_old
|
||||
/**
|
||||
* Test-procedure for HasVehicleOnPos to check for a ship.
|
||||
*/
|
||||
static Vehicle *EnsureNoShipProc(Vehicle *v, void *data)
|
||||
static Vehicle *EnsureNoShipProc(Vehicle *v, void *)
|
||||
{
|
||||
return v->type == VEH_SHIP ? v : nullptr;
|
||||
}
|
||||
|
Reference in New Issue
Block a user