1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 15:24:30 +01:00

Fix #18467: "Selected only" filter is active in Track Designs Manager

This commit is contained in:
mdbckrtn
2022-12-31 08:10:38 -05:00
committed by GitHub
parent 09c8e4755f
commit bb1c5d8ca8
3 changed files with 8 additions and 1 deletions

View File

@@ -1307,6 +1307,11 @@ private:
bool FilterSelected(uint8_t objectFlag)
{
// Track Manager has no concept of selection filtering, so always return true
if (gScreenFlags & SCREEN_FLAGS_TRACK_MANAGER)
{
return true;
}
if (_FILTER_SELECTED == _FILTER_NONSELECTED)
{
return true;