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:
committed by
GitHub
parent
f0bd05cf6d
commit
620fb5e5c4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user