mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-26 16:24:35 +01:00
Refactor Editor::CheckObjectSelection (#23339)
* Refactor Editor::CheckObjectSelection * Correct comment in FilterCompatibilityObject
This commit is contained in:
@@ -1404,7 +1404,7 @@ namespace OpenRCT2::Ui::Windows
|
||||
|
||||
bool FilterCompatibilityObject(const ObjectRepositoryItem& item, uint8_t objectFlag)
|
||||
{
|
||||
// Only show compat objects if they are not selected already.
|
||||
// Only show compat objects if they are selected already.
|
||||
return !(item.Flags & ObjectItemFlags::IsCompatibilityObject) || (objectFlag & ObjectSelectionFlags::Selected);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user