diff options
author | tron <tron@openttd.org> | 2006-05-21 13:51:36 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-05-21 13:51:36 +0000 |
commit | 3282efda88bd42c3536dc73c048f2a484e017ae1 (patch) | |
tree | a0f8f35f08e024362e9469a68b9d671758791404 /station_cmd.c | |
parent | de189080579e25c1da6120f53f3e2538ddf5480f (diff) | |
download | openttd-3282efda88bd42c3536dc73c048f2a484e017ae1.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 'station_cmd.c')
-rw-r--r-- | station_cmd.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/station_cmd.c b/station_cmd.c index efce4ac88..9b58edcff 100644 --- a/station_cmd.c +++ b/station_cmd.c @@ -1669,9 +1669,6 @@ int32 CmdBuildAirport(TileIndex tile, uint32 flags, uint32 p1, uint32 p2) if (flags & DC_EXEC) { st->owner = _current_player; - if (IsLocalPlayer() && afc->nof_depots != 0) - _last_built_aircraft_depot_tile = tile + ToTileIndexDiff(afc->airport_depots[0]); - st->airport_tile = tile; if (!st->facilities) st->xy = tile; st->facilities |= FACIL_AIRPORT; |