From 21dc725762070c0a91d656d68aea0142467f0573 Mon Sep 17 00:00:00 2001 From: Peter Nelson Date: Thu, 31 Jan 2019 22:18:00 +0000 Subject: [PATCH] Fix: Don't consider engines not in the current climate towards used livery classes. --- src/newgrf.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/newgrf.cpp b/src/newgrf.cpp index 3b0af55170..74d29e3e50 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -8591,6 +8591,8 @@ static void FinaliseEngineArray() } } + if (!HasBit(e->info.climates, _settings_game.game_creation.landscape)) continue; + /* When the train does not set property 27 (misc flags), but it * is overridden by a NewGRF graphically we want to disable the * flipping possibility. */