From c6c53521755a2ccb67b80b1a8ab71e8cf81008f0 Mon Sep 17 00:00:00 2001 From: Marijn van der Werf Date: Wed, 27 Apr 2016 23:34:27 +0200 Subject: [PATCH] Suggestions --- src/interface/paint_surface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/interface/paint_surface.c b/src/interface/paint_surface.c index 49e645b29c..b88d503845 100644 --- a/src/interface/paint_surface.c +++ b/src/interface/paint_surface.c @@ -865,8 +865,8 @@ void viewport_surface_paint_setup(uint8 direction, uint16 height, rct_map_elemen bool has_surface = false; - uint16 di = RCT2_GLOBAL(0x9E323C, uint8); - if (di * 16 == height) { + if (RCT2_GLOBAL(0x9E323C, uint8) * 16 == height) { + // Vertical tunnels sub_98197C(1575, 0, 0, 1, 30, 39, height, -2, 1, height - 40, get_current_rotation()); sub_98197C(1576, 0, 0, 30, 1, 0, height, 1, 31, height, get_current_rotation()); sub_98197C(1577, 0, 0, 1, 30, 0, height, 31, 1, height, get_current_rotation());