(svn r4940) Remove the dubious feature of remembering the last built depot. It serves no real purpose except causing confusion

This commit is contained in:
tron
2006-05-21 13:51:36 +00:00
parent de18908057
commit 3282efda88
11 changed files with 13 additions and 102 deletions

View File

@@ -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;