summaryrefslogtreecommitdiff
path: root/water_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-05-21 13:51:36 +0000
committertron <tron@openttd.org>2006-05-21 13:51:36 +0000
commite774caca2af3bed3c9643da9a4e2faee2d1a7a27 (patch)
treea0f8f35f08e024362e9469a68b9d671758791404 /water_cmd.c
parentc0021cf9372c3ee54766fd3ff04d0c8bd90ccb31 (diff)
downloadopenttd-e774caca2af3bed3c9643da9a4e2faee2d1a7a27.tar.xz
(svn r4940) Remove the dubious feature of remembering the last built depot. It serves no real purpose except causing confusion
Diffstat (limited to 'water_cmd.c')
-rw-r--r--water_cmd.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/water_cmd.c b/water_cmd.c
index b66558a8d..a841efeed 100644
--- a/water_cmd.c
+++ b/water_cmd.c
@@ -78,7 +78,6 @@ int32 CmdBuildShipDepot(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
if (flags & DC_EXEC) {
depot->xy = tile;
- _last_built_ship_depot_tile = tile;
depot->town_index = ClosestTownFromTile(tile, (uint)-1)->index;
MakeShipDepot(tile,_current_player, DEPOT_NORTH, p1);
@@ -698,10 +697,6 @@ static uint32 VehicleEnter_Water(Vehicle *v, TileIndex tile, int x, int y)
return 0;
}
-void InitializeDock(void)
-{
- _last_built_ship_depot_tile = 0;
-}
const TileTypeProcs _tile_type_water_procs = {
DrawTile_Water, /* draw_tile_proc */