From fda7dd6eea2145b2289d9467e9c40fa98d175487 Mon Sep 17 00:00:00 2001 From: Marijn van der Werf Date: Fri, 6 May 2016 13:52:41 +0200 Subject: [PATCH] Fix fences in direction 0 --- src/paint/map_element/fence.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/paint/map_element/fence.c b/src/paint/map_element/fence.c index 5799c1665a..d435f36f39 100644 --- a/src/paint/map_element/fence.c +++ b/src/paint/map_element/fence.c @@ -273,9 +273,9 @@ void fence_paint(uint8 direction, int height, rct_map_element * map_element) imageOffset = 1; } - offset = (rct_xyz16){1, 31, height}; - bounds = (rct_xyz16){29, 1, ah}; - boundsOffset = (rct_xyz16){2, 30, height + 1}; + offset = (rct_xyz16){0, 0, height}; + bounds = (rct_xyz16){1, 28, ah}; + boundsOffset = (rct_xyz16){1, 1, height + 1}; break; case 1: