Fix suggestion

This commit is contained in:
Michael Steenbeek 2020-06-04 12:41:03 +02:00 committed by GitHub
parent f9417cc5de
commit 0ba02dd91c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1558,7 +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 = 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);
}