From 34cb2a96f17109c089271eacd658e00be3c214f4 Mon Sep 17 00:00:00 2001 From: Meehoi Date: Tue, 4 Oct 2022 02:51:36 +0700 Subject: [PATCH] Fix #18174: Height marks on land do not appear --- src/openrct2/paint/tile_element/Paint.Surface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openrct2/paint/tile_element/Paint.Surface.cpp b/src/openrct2/paint/tile_element/Paint.Surface.cpp index 5424b18371..ba3b1e5676 100644 --- a/src/openrct2/paint/tile_element/Paint.Surface.cpp +++ b/src/openrct2/paint/tile_element/Paint.Surface.cpp @@ -1088,11 +1088,11 @@ void PaintSurface(paint_session& session, uint8_t direction, uint16_t height, co int32_t surfaceHeight = tile_element_height({ x + 16, y + 16 }); int32_t dx = surfaceHeight + 3; - int32_t image_id = (SPR_HEIGHT_MARKER_BASE + dx / 16) | 0x20780000; + int32_t image_id = (SPR_HEIGHT_MARKER_BASE + dx / 16); image_id += get_height_marker_offset(); image_id -= gMapBaseZ; - PaintAddImageAsParent(session, ImageId(image_id), { 16, 16, surfaceHeight }, { 1, 1, 0 }); + PaintAddImageAsParent(session, ImageId(image_id, COLOUR_OLIVE_GREEN), { 16, 16, surfaceHeight }, { 1, 1, 0 }); } bool has_surface = false;