diff options
author | rubidium <rubidium@openttd.org> | 2007-11-15 17:51:36 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-11-15 17:51:36 +0000 |
commit | 5bbb31a896be7209bcfa2c063493394f92a316d5 (patch) | |
tree | 3dc592bd0a4b0fd7f792634a5bdd7b45ec875494 /src | |
parent | a731bc5812140f26c053ddddfd27f47836537e12 (diff) | |
download | openttd-5bbb31a896be7209bcfa2c063493394f92a316d5.tar.xz |
(svn r11436) -Fix [FS#1439]: Towns would not build roads on slopes. Patch by divide.
Diffstat (limited to 'src')
-rw-r--r-- | src/town_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp index cd0ca8a2b..fa8e3ee82 100644 --- a/src/town_cmd.cpp +++ b/src/town_cmd.cpp @@ -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(); |