1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 14:24:33 +01:00

Update dropdown item fields and functions to new code style

This commit is contained in:
Gymnasiast
2025-08-21 21:33:22 +02:00
parent 1c6e23bd46
commit 8fd9658cd3
29 changed files with 317 additions and 320 deletions

View File

@@ -1344,7 +1344,7 @@ namespace OpenRCT2
dropdown_index = DropdownIndexFromPoint(screenCoords, w);
dropdownCleanup = dropdown_index == -1
|| (dropdown_index < Dropdown::kItemsMaxSize && Dropdown::IsDisabled(dropdown_index))
|| gDropdownItems[dropdown_index].IsSeparator();
|| gDropdownItems[dropdown_index].isSeparator();
w = nullptr; // To be closed right next
}
else
@@ -1481,7 +1481,7 @@ namespace OpenRCT2
return;
}
if (gDropdownItems[dropdown_index].IsSeparator())
if (gDropdownItems[dropdown_index].isSeparator())
{
return;
}