summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2009-06-21 13:26:30 +0000
committeryexo <yexo@openttd.org>2009-06-21 13:26:30 +0000
commitc7bd6c8d3460e6da19e38b230be7b456d31e1df8 (patch)
treea4878c0e6922e333990b3a767d74a83777883ba6 /src/newgrf.cpp
parent548a605263f7764602d6ee7fc9ca3856bf00918b (diff)
downloadopenttd-c7bd6c8d3460e6da19e38b230be7b456d31e1df8.tar.xz
(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
Diffstat (limited to 'src/newgrf.cpp')
-rw-r--r--src/newgrf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index da7de1e07..be9e335b8 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -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