summaryrefslogtreecommitdiff
path: root/tile.c
diff options
context:
space:
mode:
Diffstat (limited to 'tile.c')
-rw-r--r--tile.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tile.c b/tile.c
index 9fe175766..7d2f680b8 100644
--- a/tile.c
+++ b/tile.c
@@ -46,8 +46,7 @@ uint GetTileSlope(TileIndex tile, uint *h)
if ((d -= min) != 0) r += (--d << 4) + 2;
if ((b -= min) != 0) r += (--b << 4) + 1;
- if (h != NULL)
- *h = min * 8;
+ if (h != NULL) *h = min * 8;
return r;
}