1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-02-03 18:07:53 +01:00

Migrate 40 calls to set_format_arg()

This commit is contained in:
Gymnasiast
2020-06-03 00:40:47 +02:00
parent 2a8ab374d3
commit f640446d58
12 changed files with 72 additions and 40 deletions

View File

@@ -979,7 +979,9 @@ static void window_map_show_default_scenario_editor_buttons(rct_window* w)
if (gScreenFlags & SCREEN_FLAGS_SCENARIO_EDITOR)
w->widgets[WIDX_MAP_GENERATOR].type = WWT_BUTTON;
set_format_arg(2, uint16_t, gMapSize - 2);
auto ft = Formatter::Common();
ft.Increment(2);
ft.Add<uint16_t>(gMapSize - 2);
}
static void window_map_inputsize_land(rct_window* w)