Fix negative Gs display (#15171)

This commit is contained in:
Michael Steenbeek authored and GitHub committed 2021-08-03 05:25:06 +01:00
1 parent 3c86d56933
commit 2beed229a9
1 file changed
+1 -1
+1 -1
View File
@@ -5715,7 +5715,7 @@ static void window_ride_measurements_paint(rct_window* w, rct_drawpixelinfo* dpi
stringId = ride->max_negative_vertical_g <= RIDE_G_FORCES_RED_NEG_VERTICAL ? STR_MAX_NEGATIVE_VERTICAL_G_RED
: STR_MAX_NEGATIVE_VERTICAL_G;
ft = Formatter();
ft.Add<fixed16_2dp>(ride->max_negative_vertical_g);
ft.Add<int32_t>(ride->max_negative_vertical_g);
DrawTextBasic(dpi, screenCoords, stringId, ft);
screenCoords.y += LIST_ROW_HEIGHT;