1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-25 15:54:31 +01:00

Migrate many set_format_arg calls to Formatter (#11744)

This commit is contained in:
Michael Steenbeek
2020-05-14 02:29:39 +02:00
committed by GitHub
parent f0bd05cf6d
commit 620fb5e5c4
23 changed files with 122 additions and 81 deletions

View File

@@ -509,7 +509,8 @@ static int32_t window_track_place_get_base_z(const CoordsXY& loc)
*/
static void window_track_place_paint(rct_window* w, rct_drawpixelinfo* dpi)
{
set_format_arg(0, char*, _trackDesign->name.c_str());
auto ft = Formatter::Common();
ft.Add<char*>(_trackDesign->name.c_str());
window_draw_widgets(w, dpi);
// Draw mini tile preview