diff options
author | rubidium <rubidium@openttd.org> | 2011-02-04 15:40:35 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-02-04 15:40:35 +0000 |
commit | c85d350310d220885e07a5eed327110a4169f56b (patch) | |
tree | 2cc633d0b25bd501d2f8022856746a3be6f7c0c1 /src/newgrf.cpp | |
parent | 46b3d114a828916226d66ec7536af9f62948759a (diff) | |
download | openttd-c85d350310d220885e07a5eed327110a4169f56b.tar.xz |
(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
Diffstat (limited to 'src/newgrf.cpp')
-rw-r--r-- | src/newgrf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |