(svn r16614) -Codechange: Make the airport min/max available year a property of the Airport class.

-Change: rename station.always_small_airport to station.never_expire_airports to make it more future-proof
This commit is contained in:
yexo
2009-06-21 13:26:30 +00:00
parent 548a605263
commit c7bd6c8d34
54 changed files with 58 additions and 104 deletions

View File

@@ -5294,7 +5294,7 @@ static void GRFUnsafe(byte *buf, size_t len)
static void InitializeGRFSpecial()
{
_ttdpatch_flags[0] = ((_settings_game.station.always_small_airport ? 1 : 0) << 0x0C) // keepsmallairport
_ttdpatch_flags[0] = ((_settings_game.station.never_expire_airports ? 1 : 0) << 0x0C) // keepsmallairport
| (1 << 0x0D) // newairports
| (1 << 0x0E) // largestations
| ((_settings_game.construction.longbridges ? 1 : 0) << 0x0F) // longbridges