mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-28 01:04:50 +01:00
Change static casts to EnumValue
This commit is contained in:
@@ -972,7 +972,7 @@ static void window_editor_objective_options_rides_update(rct_window* w)
|
||||
{
|
||||
if (ride.IsRide())
|
||||
{
|
||||
w->list_item_positions[numItems] = static_cast<uint32_t>(ride.id);
|
||||
w->list_item_positions[numItems] = EnumValue(ride.id);
|
||||
numItems++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user