1
0
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:
Richard Qian
2020-12-15 11:46:42 -06:00
parent 6ee4bec0b1
commit 84d5fde6bb
2 changed files with 0 additions and 6 deletions

View File

@@ -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);

View File

@@ -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)])
{