summaryrefslogtreecommitdiff
path: root/src/town_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/town_cmd.cpp')
-rw-r--r--src/town_cmd.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp
index f65a7afab..085d6f250 100644
--- a/src/town_cmd.cpp
+++ b/src/town_cmd.cpp
@@ -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