(svn r11436) -Fix [FS#1439]: Towns would not build roads on slopes. Patch by divide.
This commit is contained in:
@@ -729,7 +729,7 @@ no_slope:
|
|||||||
|
|
||||||
/* If the tile is not a slope in the right direction, then
|
/* If the tile is not a slope in the right direction, then
|
||||||
* maybe terraform some. */
|
* 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) {
|
if (desired_slope != cur_slope && ComplementSlope(desired_slope) != cur_slope) {
|
||||||
uint32 r = Random();
|
uint32 r = Random();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user