branch | NewGRF_ports |
changeset 10731 | 67db0d431d5e |
parent 10724 | 68a692eacf22 |
child 10991 | d8811e327d12 |
--- a/src/waypoint.cpp Mon May 26 20:45:25 2008 +0000 +++ b/src/waypoint.cpp Tue May 27 00:50:55 2008 +0000 @@ -210,7 +210,7 @@ tileh = GetTileSlope(tile, NULL); if (tileh != SLOPE_FLAT && - (!_patches.build_on_slopes || IsSteepSlope(tileh) || !(tileh & (0x3 << axis)) || !(tileh & ~(0x3 << axis)))) { + (!_settings.construction.build_on_slopes || IsSteepSlope(tileh) || !(tileh & (0x3 << axis)) || !(tileh & ~(0x3 << axis)))) { return_cmd_error(STR_0007_FLAT_LAND_REQUIRED); }