mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-22 18:31:59 -05:00
Merge pull request #12903 from tupaschoal/fix-12787-regressions
Fix #12797 regressions
This commit is contained in:
commit
ed9c785573
3 changed files with 5 additions and 1 deletions
|
@ -1160,6 +1160,7 @@ void window_guest_overview_paint(rct_window* w, rct_drawpixelinfo* dpi)
|
|||
}
|
||||
|
||||
screenPos.x = widget->width() - w->list_information_type;
|
||||
ft = Formatter::Common();
|
||||
peep_thought_set_format_args(&peep->Thoughts[i], ft);
|
||||
DrawTextBasic(&dpi_marquee, { screenPos.x, 0 }, STR_WINDOW_COLOUR_2_STRINGID, ft, COLOUR_BLACK);
|
||||
}
|
||||
|
|
|
@ -815,6 +815,7 @@ static void window_guest_list_scrollpaint(rct_window* w, rct_drawpixelinfo* dpi,
|
|||
if (thought->freshness > 5)
|
||||
break;
|
||||
|
||||
ft = Formatter::Common();
|
||||
peep_thought_set_format_args(&peep->Thoughts[j], ft);
|
||||
DrawTextEllipsised(dpi, { 118, y }, 329, format, ft, COLOUR_BLACK);
|
||||
break;
|
||||
|
|
|
@ -241,7 +241,9 @@ static void window_install_track_paint(rct_window* w, rct_drawpixelinfo* dpi)
|
|||
if (!gTrackDesignSceneryToggle)
|
||||
{
|
||||
// Scenery not available
|
||||
DrawTextEllipsised(dpi, screenPos, 308, STR_BLACK_STRING, Formatter::Common(), COLOUR_BLACK, TextAlignment::CENTRE);
|
||||
DrawTextEllipsised(
|
||||
dpi, screenPos, 308, STR_DESIGN_INCLUDES_SCENERY_WHICH_IS_UNAVAILABLE, Formatter::Common(), COLOUR_BLACK,
|
||||
TextAlignment::CENTRE);
|
||||
screenPos.y -= LIST_ROW_HEIGHT;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue