(svn r21826) -Fix [FS#4007]: the expectations from the "always build infrastructure" setting name/description didn't match the behaviour

This commit is contained in:
rubidium
2011-01-16 21:10:41 +00:00
parent 24e1fa6b3e
commit 79c908d6f3
5 changed files with 5 additions and 5 deletions

View File

@@ -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) {