Fix #9863: Excitement/Intensity factors of cars overflow

This commit is contained in:
Ted John 2019-08-12 17:54:12 +01:00
parent 056ebc23d6
commit ec55eb6374
1 changed files with 1 additions and 1 deletions

View File

@ -3167,7 +3167,7 @@ static void window_ride_vehicle_paint(rct_window* w, rct_drawpixelinfo* dpi)
gfx_draw_string_left(dpi, STR_CAPACITY, &rideEntry->capacity, COLOUR_BLACK, x, y);
// Excitement Factor
auto factor = rideEntry->excitement_multiplier;
auto factor = (int16_t)rideEntry->excitement_multiplier;
if (factor > 0)
{
y += LIST_ROW_HEIGHT;