mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-27 08:29:11 +00:00
(svn r16659) -Codechange: rename GetAcceptedCargo() to AddAcceptedCargo() and change its behaviour accordingly
-Codechange: remove dummy GetAcceptedCargo_*() handlers
This commit is contained in:
@@ -1287,11 +1287,6 @@ static Foundation GetFoundation_Road(TileIndex tile, Slope tileh)
|
||||
}
|
||||
}
|
||||
|
||||
static void GetAcceptedCargo_Road(TileIndex tile, AcceptedCargo ac)
|
||||
{
|
||||
/* not used */
|
||||
}
|
||||
|
||||
static void AnimateTile_Road(TileIndex tile)
|
||||
{
|
||||
if (IsLevelCrossing(tile)) MarkTileDirtyByTile(tile);
|
||||
@@ -1637,7 +1632,7 @@ extern const TileTypeProcs _tile_type_road_procs = {
|
||||
DrawTile_Road, // draw_tile_proc
|
||||
GetSlopeZ_Road, // get_slope_z_proc
|
||||
ClearTile_Road, // clear_tile_proc
|
||||
GetAcceptedCargo_Road, // get_accepted_cargo_proc
|
||||
NULL, // get_accepted_cargo_proc
|
||||
GetTileDesc_Road, // get_tile_desc_proc
|
||||
GetTileTrackStatus_Road, // get_tile_track_status_proc
|
||||
ClickTile_Road, // click_tile_proc
|
||||
|
Reference in New Issue
Block a user