1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 19:13:07 +01:00

Fix negative Gs display (#15171)

This commit is contained in:
Michael Steenbeek
2021-08-03 06:25:06 +02:00
committed by GitHub
parent 3c86d56933
commit 2beed229a9

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;