From ba193f2e23ce82cdfca37771147848751c6993e1 Mon Sep 17 00:00:00 2001 From: PeterN Date: Wed, 12 May 2021 21:35:48 +0100 Subject: Fix #9186: Fix incorrect bounding box height causing station sprite glitch. (#9187) Increased height of small station building bounding box to cover the build rather than just the platform. --- src/table/station_land.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/table/station_land.h b/src/table/station_land.h index 8429914f3..53a69e1e2 100644 --- a/src/table/station_land.h +++ b/src/table/station_land.h @@ -71,13 +71,13 @@ static const DrawTileSeqStruct _station_display_datas_1[] = { }; static const DrawTileSeqStruct _station_display_datas_2[] = { - TILE_SEQ_LINE( 0, 0, 0, 16, 5, 2, SPR_RAIL_PLATFORM_BUILDING_X | (1U << PALETTE_MODIFIER_COLOUR)) + TILE_SEQ_LINE( 0, 0, 0, 16, 5, 15, SPR_RAIL_PLATFORM_BUILDING_X | (1U << PALETTE_MODIFIER_COLOUR)) TILE_SEQ_LINE( 0, 11, 0, 16, 5, 2, SPR_RAIL_PLATFORM_X_FRONT | (1U << PALETTE_MODIFIER_COLOUR)) TILE_SEQ_END() }; static const DrawTileSeqStruct _station_display_datas_3[] = { - TILE_SEQ_LINE( 0, 0, 0, 5, 16, 2, SPR_RAIL_PLATFORM_BUILDING_Y | (1U << PALETTE_MODIFIER_COLOUR)) + TILE_SEQ_LINE( 0, 0, 0, 5, 16, 15, SPR_RAIL_PLATFORM_BUILDING_Y | (1U << PALETTE_MODIFIER_COLOUR)) TILE_SEQ_LINE(11, 0, 0, 5, 16, 2, SPR_RAIL_PLATFORM_Y_FRONT | (1U << PALETTE_MODIFIER_COLOUR)) TILE_SEQ_END() }; -- cgit v1.2.3-70-g09d2