summaryrefslogtreecommitdiff
path: root/src/town_cmd.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-06-25 20:08:59 +0000
committersmatz <smatz@openttd.org>2009-06-25 20:08:59 +0000
commitc0ac230e3ea48e2e640dc74bc257f6f22d37bca3 (patch)
tree8472f38421f3ceae22eb5ab827bbc0d45b2de08e /src/town_cmd.cpp
parentc30a87758fca7b0203b36b886aaa360f383f9278 (diff)
downloadopenttd-c0ac230e3ea48e2e640dc74bc257f6f22d37bca3.tar.xz
(svn r16660) -Codechange: get rid of more dummy tile_type_procs
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