1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-04 13:42:55 +01:00

Apply suggestion from code review

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
This commit is contained in:
Michael Steenbeek
2020-06-04 10:16:23 +02:00
committed by GitHub
parent 66a71e009d
commit f9417cc5de

View File

@@ -1558,6 +1558,7 @@ void window_guest_stats_paint(rct_window* w, rct_drawpixelinfo* dpi)
};
y += LIST_ROW_HEIGHT;
int32_t nausea_tolerance = peep->nausea_tolerance & 0x3;
auto ft = Formatter::Common();
ft.Add<rct_string_id>(nauseaTolerances[nausea_tolerance]);
gfx_draw_string_left(dpi, STR_GUEST_STAT_NAUSEA_TOLERANCE, gCommonFormatArgs, COLOUR_BLACK, x, y);
}