1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-31 10:45:16 +01:00

Part of #11389: Use formatter class for Ride::FormatNameTo (#12041)

This commit is contained in:
frutiemax
2020-06-24 20:02:08 -04:00
committed by GitHub
parent a102892370
commit 14a07359b3
17 changed files with 130 additions and 77 deletions

View File

@@ -1172,8 +1172,10 @@ static void window_editor_objective_options_rides_scrollpaint(rct_window* w, rct
}
// Ride name
uint32_t args[32]{};
ride->FormatNameTo(args);
uint8_t args[32]{};
Formatter ft(args);
ride->FormatNameTo(ft);
gfx_draw_string_left(dpi, stringId, args, COLOUR_BLACK, { 15, y });
}
}