summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/landscape.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/landscape.cpp b/src/landscape.cpp
index 698ba9f4a..73f5922cc 100644
--- a/src/landscape.cpp
+++ b/src/landscape.cpp
@@ -152,7 +152,7 @@ uint GetPartialZ(int x, int y, Slope corners)
break;
case SLOPE_STEEP_E:
- z = 1 + (((x ^ 0xF) + (y ^ 0xF)) >> 1);
+ z = 1 + (((x ^ 0xF) + y) >> 1);
break;
default: break;