Skip to content

Commit

Permalink
Fix OpenRCT2#18467: Remove 'else' keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
mdbckrtn committed Dec 26, 2022
1 parent 303879f commit e2a89e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/openrct2-ui/windows/EditorObjectSelection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1312,15 +1312,15 @@ class EditorObjectSelectionWindow final : public Window
{
return true;
}
else if (_FILTER_SELECTED == _FILTER_NONSELECTED)
if (_FILTER_SELECTED == _FILTER_NONSELECTED)
{
return true;
}
else if (_FILTER_SELECTED && objectFlag & ObjectSelectionFlags::Selected)
if (_FILTER_SELECTED && objectFlag & ObjectSelectionFlags::Selected)
{
return true;
}
else if (_FILTER_NONSELECTED && !(objectFlag & ObjectSelectionFlags::Selected))
if (_FILTER_NONSELECTED && !(objectFlag & ObjectSelectionFlags::Selected))
{
return true;
}
Expand Down

0 comments on commit e2a89e6

Please sign in to comment.