mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-21 13:39:09 +00:00
(svn r13255) -Codechange: move _opt to _settings.
This commit is contained in:
@@ -296,7 +296,7 @@ void StartupEngines()
|
||||
e->lifelength = ei->lifelength + _settings.vehicle.extend_vehicle_life;
|
||||
|
||||
/* prevent certain engines from ever appearing. */
|
||||
if (!HasBit(ei->climates, _opt.landscape)) {
|
||||
if (!HasBit(ei->climates, _settings.game_creation.landscape)) {
|
||||
e->flags |= ENGINE_AVAILABLE;
|
||||
e->player_avail = 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user