forked from rosebudai/OpenRCT2-Web
Fix negative Gs display (#15171)
This commit is contained in:
1 parent
3c86d56933
commit
2beed229a9
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user