changeset 7304:6c3117a8b5a4 draft

(svn r10656) -Fix [FS#1068]: GetPartialZ returned wrong value for SLOPE_STEEP_E (frosch)
author truelight <truelight@openttd.org>
date Mon, 23 Jul 2007 15:18:53 +0000
parents a3e69901e01c
children 52eb80c4510d
files src/landscape.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/landscape.cpp
+++ b/src/landscape.cpp
@@ -152,7 +152,7 @@
 		break;
 
 	case SLOPE_STEEP_E:
-		z = 1 + (((x ^ 0xF) + (y ^ 0xF)) >> 1);
+		z = 1 + (((x ^ 0xF) + y) >> 1);
 		break;
 
 		default: break;