mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-04 13:42:55 +01:00
Remove the max limit of 4 rides from the Track Designer
This commit is contained in:
@@ -1001,8 +1001,6 @@ static void window_editor_object_selection_paint(rct_window* w, rct_drawpixelinf
|
||||
|
||||
int32_t numSelected = _numSelectedObjectsForType[EnumValue(get_selected_object_type(w))];
|
||||
int32_t totalSelectable = object_entry_group_counts[EnumValue(get_selected_object_type(w))];
|
||||
if (gScreenFlags & SCREEN_FLAGS_TRACK_DESIGNER)
|
||||
totalSelectable = 4;
|
||||
|
||||
auto ft = Formatter();
|
||||
ft.Add<uint16_t>(numSelected);
|
||||
|
||||
@@ -496,10 +496,6 @@ bool window_editor_object_selection_select_object(uint8_t isMasterObject, int32_
|
||||
|
||||
ObjectType objectType = item->ObjectEntry.GetType();
|
||||
uint16_t maxObjects = object_entry_group_counts[EnumValue(objectType)];
|
||||
if (gScreenFlags & SCREEN_FLAGS_TRACK_DESIGNER && objectType == ObjectType::Ride)
|
||||
{
|
||||
maxObjects = 4;
|
||||
}
|
||||
|
||||
if (maxObjects <= _numSelectedObjectsForType[EnumValue(objectType)])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user