1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-30 10:15:36 +01:00

Fix #10898: banner text has an offset in tile inspector window (#10900)

Interesting how this only gets reported now, it has been broken for 8 months already. It's likely a copy-paste error from 61d64ab8c5.
This commit is contained in:
Hielke Morsink
2020-03-08 23:02:55 +01:00
committed by GitHub
parent 60f768e966
commit 8737d3c2f0
2 changed files with 2 additions and 1 deletions

View File

@@ -32,6 +32,7 @@
- Fix: [#10739] Mountain tool overlay for even-numbered selections.
- Fix: [#10752] Mute button state not correctly set at startup.
- Fix: [#10822] Can place too many peep spawns.
- Fix: [#10898] Banner text has an offset in tile inspector window.
- Improved: [#682] The staff patrol area is now drawn on the water, instead of on the surface under water.
- Improved: [#10858] Added horizontal grid lines to finance charts.
- Removed: [#6898] LOADMM and LOADRCT1 title sequence commands (use LOADSC instead).

View File

@@ -2116,7 +2116,7 @@ static void window_tile_inspector_paint(rct_window* w, rct_drawpixelinfo* dpi)
{
uint8_t args[32]{};
banner->FormatTextTo(args);
gfx_draw_string_left(dpi, STR_TILE_INSPECTOR_ENTRY_BANNER_TEXT, args, COLOUR_WHITE, x, y + 22);
gfx_draw_string_left(dpi, STR_TILE_INSPECTOR_ENTRY_BANNER_TEXT, args, COLOUR_WHITE, x, y);
}
// Properties