From e774caca2af3bed3c9643da9a4e2faee2d1a7a27 Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 21 May 2006 13:51:36 +0000 Subject: (svn r4940) Remove the dubious feature of remembering the last built depot. It serves no real purpose except causing confusion --- water_cmd.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'water_cmd.c') 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 */ -- cgit v1.2.3-54-g00ecf