From c85d350310d220885e07a5eed327110a4169f56b Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 4 Feb 2011 15:40:35 +0000 Subject: (svn r21960) -Change: show the length of vehicles in tiles, instead of half tiles in the depot -Fix [FS#4461]: don't count the number of vehicles but the length of vehicles to (configurably) limit train length --- 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 ed1d08d1b..21df87951 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -6912,7 +6912,7 @@ static void InitializeGRFSpecial() | (1 << 0x1E); // generalfixes _ttdpatch_flags[1] = ((_settings_game.economy.station_noise_level ? 1 : 0) << 0x07) // moreairports - based on units of noise - | ((_settings_game.vehicle.mammoth_trains ? 1 : 0) << 0x08) // mammothtrains + | ((_settings_game.vehicle.max_train_length > 5 ? 1 : 0) << 0x08) // mammothtrains | (1 << 0x09) // trainrefit | (0 << 0x0B) // subsidiaries | ((_settings_game.order.gradual_loading ? 1 : 0) << 0x0C) // gradualloading -- cgit v1.2.3-70-g09d2