From dc77647ea4a2becac4eff3190970cb35671b0131 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 25 May 2008 19:17:03 +0000 Subject: (svn r13251) -Codechange: rename _patches to _settings as that is more logic. -Codechange: move all Settings into substructs of _settings in a way that they are logically grouped. --- src/airport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/airport.cpp') diff --git a/src/airport.cpp b/src/airport.cpp index faef68711..e478d3480 100644 --- a/src/airport.cpp +++ b/src/airport.cpp @@ -477,7 +477,7 @@ uint32 GetValidAirports() { uint32 mask = 0; - if (_cur_year < 1960 || _patches.always_small_airport) SetBit(mask, 0); // small airport + if (_cur_year < 1960 || _settings.station.always_small_airport) SetBit(mask, 0); // small airport if (_cur_year >= 1955) SetBit(mask, 1); // city airport if (_cur_year >= 1963) SetBit(mask, 2); // heliport if (_cur_year >= 1980) SetBit(mask, 3); // metropolitan airport -- cgit v1.2.3-70-g09d2