1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 22:13:07 +01:00

Part of #11564: gfx_draw_string_centred_clipped with ScreenCoordsXY

This commit is contained in:
Tulio Leao
2020-06-11 10:58:19 -03:00
parent ce171164c9
commit 613cec3f7a
14 changed files with 31 additions and 28 deletions

View File

@@ -250,7 +250,7 @@ static void window_install_track_paint(rct_window* w, rct_drawpixelinfo* dpi)
{
// Scenery not available
gfx_draw_string_centred_clipped(
dpi, STR_DESIGN_INCLUDES_SCENERY_WHICH_IS_UNAVAILABLE, nullptr, COLOUR_BLACK, x, y, 368);
dpi, STR_DESIGN_INCLUDES_SCENERY_WHICH_IS_UNAVAILABLE, nullptr, COLOUR_BLACK, { x, y }, 368);
y -= LIST_ROW_HEIGHT;
}
}