1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 00:03:11 +01:00

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

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;