1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 04:23:20 +01:00

Fix #13005: Last player action is not truncated (#13007)

This commit is contained in:
Aaron van Geffen
2020-09-27 11:41:28 +02:00
committed by GitHub
parent a3c9a84ae1
commit 62b13e68bc

View File

@@ -405,7 +405,7 @@ void window_player_overview_paint(rct_window* w, rct_drawpixelinfo* dpi)
{
ft.Add<rct_string_id>(STR_ACTION_NA);
}
DrawTextEllipsised(dpi, screenCoords, width, STR_LAST_ACTION_RAN, ft, COLOUR_BLACK);
DrawTextEllipsised(dpi, screenCoords, width, STR_LAST_ACTION_RAN, ft, COLOUR_BLACK, TextAlignment::CENTRE);
if (w->viewport != nullptr && w->var_492 != -1)
{