mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 11:33:03 +01:00
Fix unresearched scenery groups showing
This commit is contained in:
@@ -305,7 +305,7 @@ static void window_scenery_init(rct_window* w)
|
||||
for (ObjectEntryIndex scenerySetIndex = 0; scenerySetIndex < maxTabs - 1; scenerySetIndex++)
|
||||
{
|
||||
const auto* sceneryGroupEntry = get_scenery_group_entry(scenerySetIndex);
|
||||
if (sceneryGroupEntry != nullptr)
|
||||
if (sceneryGroupEntry != nullptr && scenery_group_is_invented(scenerySetIndex))
|
||||
{
|
||||
SceneryTabInfo tabInfo;
|
||||
tabInfo.SceneryGroupIndex = scenerySetIndex;
|
||||
|
||||
Reference in New Issue
Block a user