summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-11-15 17:51:36 +0000
committerrubidium <rubidium@openttd.org>2007-11-15 17:51:36 +0000
commit53e811ff296f734963a15dfd125da12981848081 (patch)
tree3dc592bd0a4b0fd7f792634a5bdd7b45ec875494
parent56b1317e7050a4d1dc399b1fe00fb0608eca309f (diff)
downloadopenttd-53e811ff296f734963a15dfd125da12981848081.tar.xz
(svn r11436) -Fix [FS#1439]: Towns would not build roads on slopes. Patch by divide.
-rw-r--r--src/town_cmd.cpp2
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();