From fc35ad9ee9077869ab7b5a06b44327c835df3e5f Mon Sep 17 00:00:00 2001 From: belugas Date: Sat, 24 May 2008 02:54:47 +0000 Subject: (svn r13226) -Feature: Allow to have more than only two airports per town. The number of airports is now controlled by the noise each of them generates, the distance from town's center and how tolerant the town is. Initial concept : TTDPatch (moreairpots), Initial code : Pasky Thanks to BigBB (help coding), Smatz Skidd13 and frosch for bugcatches and advices --- src/newgrf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/newgrf.cpp') diff --git a/src/newgrf.cpp b/src/newgrf.cpp index 903c33078..1a271f316 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -5091,7 +5091,7 @@ static void InitializeGRFSpecial() | (1 << 0x1D) // lowmemory | (1 << 0x1E); // generalfixes - _ttdpatch_flags[1] = (0 << 0x07) // moreairports - based on units of noise + _ttdpatch_flags[1] = ((_patches.station_noise_level ? 1 : 0) << 0x07) // moreairports - based on units of noise | ((_patches.mammoth_trains ? 1 : 0) << 0x08) // mammothtrains | (1 << 0x09) // trainrefit | (0 << 0x0B) // subsidiaries -- cgit v1.2.3-54-g00ecf