mirror of https://github.com/OpenTTD/OpenTTD
(svn r11436) -Fix [FS#1439]: Towns would not build roads on slopes. Patch by divide.
parent
56b1317e70
commit
53e811ff29
|
@ -729,7 +729,7 @@ no_slope:
|
|||
|
||||
/* If the tile is not a slope in the right direction, then
|
||||
* maybe terraform some. */
|
||||
desired_slope = (dir == DIAGDIR_NW || dir == DIAGDIR_SE) ? SLOPE_NE : SLOPE_NW;
|
||||
desired_slope = (dir == DIAGDIR_NW || dir == DIAGDIR_SE) ? SLOPE_NW : SLOPE_NE;
|
||||
if (desired_slope != cur_slope && ComplementSlope(desired_slope) != cur_slope) {
|
||||
uint32 r = Random();
|
||||
|
||||
|
|
Loading…
Reference in New Issue