From 0ba02dd91cfc40d3c9aa439ff9c532747da96d7c Mon Sep 17 00:00:00 2001 From: Michael Steenbeek Date: Thu, 4 Jun 2020 12:41:03 +0200 Subject: [PATCH] Fix suggestion --- src/openrct2-ui/windows/Guest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2-ui/windows/Guest.cpp b/src/openrct2-ui/windows/Guest.cpp index 16b821f8f1..176fc7b78e 100644 --- a/src/openrct2-ui/windows/Guest.cpp +++ b/src/openrct2-ui/windows/Guest.cpp @@ -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(nauseaTolerances[nausea_tolerance]); gfx_draw_string_left(dpi, STR_GUEST_STAT_NAUSEA_TOLERANCE, gCommonFormatArgs, COLOUR_BLACK, x, y); }