changeset 7885:db330f75b899 draft

(svn r11436) -Fix [FS#1439]: Towns would not build roads on slopes. Patch by divide.
author rubidium <rubidium@openttd.org>
date Thu, 15 Nov 2007 17:51:36 +0000
parents 870ff6c7c551
children 6551a3580d2e
files src/town_cmd.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/town_cmd.cpp
+++ b/src/town_cmd.cpp
@@ -729,7 +729,7 @@
 
 		/* 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();