mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix #6113: track list preview shows incorrect heighest drop height
This commit is contained in:
parent
cc24978ea5
commit
12354e1f2a
|
@ -28,6 +28,7 @@
|
||||||
- Fix: [#6052] Unable to place entrance/exit on certain ride types.
|
- Fix: [#6052] Unable to place entrance/exit on certain ride types.
|
||||||
- Fix: [#6071] Quick demolish can delete protected ride.
|
- Fix: [#6071] Quick demolish can delete protected ride.
|
||||||
- Fix: [#6111] Mute button always visible in editor.
|
- Fix: [#6111] Mute button always visible in editor.
|
||||||
|
- Fix: [#6113] Track preview shows incorrect highest drop height.
|
||||||
- Improved: [#2223] Change mountain tool to ignore higher surrounding tiles.
|
- Improved: [#2223] Change mountain tool to ignore higher surrounding tiles.
|
||||||
- Improved: [#4301] Leading and trailing whitespace in player name is now removed.
|
- Improved: [#4301] Leading and trailing whitespace in player name is now removed.
|
||||||
- Improved: [#5859] OpenGL rendering performance
|
- Improved: [#5859] OpenGL rendering performance
|
||||||
|
|
|
@ -528,7 +528,8 @@ static void window_track_list_paint(rct_window *w, rct_drawpixelinfo *dpi)
|
||||||
y += 10;
|
y += 10;
|
||||||
|
|
||||||
// Drop height is multiplied by 0.75
|
// Drop height is multiplied by 0.75
|
||||||
gfx_draw_string_left(dpi, STR_HIGHEST_DROP_HEIGHT, &drops, COLOUR_BLACK, x, y);
|
uint16 highestDropHeight = (td6->highest_drop_height * 3) / 4;
|
||||||
|
gfx_draw_string_left(dpi, STR_HIGHEST_DROP_HEIGHT, &highestDropHeight, COLOUR_BLACK, x, y);
|
||||||
y += 10;
|
y += 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue