(svn r16660) -Codechange: get rid of more dummy tile_type_procs

This commit is contained in:
smatz
2009-06-25 20:08:59 +00:00
parent c30a87758f
commit c0ac230e3e
12 changed files with 34 additions and 102 deletions

View File

@@ -503,16 +503,6 @@ static void TileLoop_Town(TileIndex tile)
_current_company = OWNER_NONE;
}
/**
* Dummy tile callback function for handling tile clicks in towns
* @param tile unused
*/
static bool ClickTile_Town(TileIndex tile)
{
/* not used */
return false;
}
static CommandCost ClearTile_Town(TileIndex tile, DoCommandFlag flags)
{
if (flags & DC_AUTO) return_cmd_error(STR_ERROR_BUILDING_MUST_BE_DEMOLISHED);
@@ -2886,7 +2876,7 @@ extern const TileTypeProcs _tile_type_town_procs = {
AddAcceptedCargo_Town, // add_accepted_cargo_proc
GetTileDesc_Town, // get_tile_desc_proc
GetTileTrackStatus_Town, // get_tile_track_status_proc
ClickTile_Town, // click_tile_proc
NULL, // click_tile_proc
AnimateTile_Town, // animate_tile_proc
TileLoop_Town, // tile_loop_clear
ChangeTileOwner_Town, // change_tile_owner_clear