diff options
Diffstat (limited to 'src/vehicle.cpp')
-rw-r--r-- | src/vehicle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp index c9beba0f5..04521043c 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -1468,7 +1468,7 @@ bool CanBuildVehicleInfrastructure(VehicleType type) assert(IsCompanyBuildableVehicleType(type)); if (!Company::IsValidID(_local_company)) return false; - if (_settings_client.gui.always_build_infrastructure) return true; + if (!_settings_client.gui.disable_unsuitable_building) return true; UnitID max; switch (type) { |