Fix #6113: track list preview shows incorrect heighest drop height

This commit is contained in:
Gymnasiast 2017-08-03 11:58:00 +02:00
parent cc24978ea5
commit 12354e1f2a
2 changed files with 3 additions and 1 deletions

View File

@ -28,6 +28,7 @@
- Fix: [#6052] Unable to place entrance/exit on certain ride types.
- Fix: [#6071] Quick demolish can delete protected ride.
- 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: [#4301] Leading and trailing whitespace in player name is now removed.
- Improved: [#5859] OpenGL rendering performance

View File

@ -528,7 +528,8 @@ static void window_track_list_paint(rct_window *w, rct_drawpixelinfo *dpi)
y += 10;
// 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;
}