1
0
Fork 0

Fix: Don't consider engines not in the current climate towards used livery classes.

pull/7154/head
Peter Nelson 2019-01-31 22:18:00 +00:00 committed by PeterN
parent 1e5a6765d9
commit 21dc725762
1 changed files with 2 additions and 0 deletions

View File

@ -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. */