From a85c140e352c7969febbcabd99a0a6656c6e1dba Mon Sep 17 00:00:00 2001 From: Gymnasiast Date: Fri, 20 Sep 2024 20:47:30 +0200 Subject: [PATCH] Revert "Fix #21123: Transparency options are not respected on startup (#22659)" This reverts commit c54e25c1d4f1e109be20948e7a268e39a6e821d1. --- distribution/changelog.txt | 1 - src/openrct2-ui/windows/Main.cpp | 18 ------------------ 2 files changed, 19 deletions(-) diff --git a/distribution/changelog.txt b/distribution/changelog.txt index bf91ed4695..b846bdce4b 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -32,7 +32,6 @@ - Change: [#22491] Scrollbars are now hidden if the scrollable widget is not actually overflowing. - Change: [#22541] In editor/sandbox mode, tool widgets now appear on the side of the map window, instead of the bottom. - Change: [#22592] Cheats have been redistributed along three new tabs: date, staff, and nature/weather. -- Fix: [#21123] Transparency options are not respected on startup. - Fix: [#21189] Additional missing/misplaced land & construction rights tiles in Schneider Shores and Urban Park. - Fix: [#21908] Errors showing up when placing/moving track design previews. - Fix: [#22307] Hover tooltips in financial charts are not invalidated properly. diff --git a/src/openrct2-ui/windows/Main.cpp b/src/openrct2-ui/windows/Main.cpp index 2b289e5d05..f1fe9d57b3 100644 --- a/src/openrct2-ui/windows/Main.cpp +++ b/src/openrct2-ui/windows/Main.cpp @@ -56,35 +56,17 @@ namespace OpenRCT2::Ui::Windows { viewport->flags |= VIEWPORT_FLAG_SOUND_ON; if (Config::Get().general.InvisibleRides) - { viewport->flags |= VIEWPORT_FLAG_INVISIBLE_RIDES; - viewport->flags |= VIEWPORT_FLAG_HIDE_RIDES; - } if (Config::Get().general.InvisibleVehicles) - { viewport->flags |= VIEWPORT_FLAG_INVISIBLE_VEHICLES; - viewport->flags |= VIEWPORT_FLAG_HIDE_VEHICLES; - } if (Config::Get().general.InvisibleTrees) - { viewport->flags |= VIEWPORT_FLAG_INVISIBLE_VEGETATION; - viewport->flags |= VIEWPORT_FLAG_HIDE_VEGETATION; - } if (Config::Get().general.InvisibleScenery) - { viewport->flags |= VIEWPORT_FLAG_INVISIBLE_SCENERY; - viewport->flags |= VIEWPORT_FLAG_HIDE_SCENERY; - } if (Config::Get().general.InvisiblePaths) - { viewport->flags |= VIEWPORT_FLAG_INVISIBLE_PATHS; - viewport->flags |= VIEWPORT_FLAG_HIDE_PATHS; - } if (Config::Get().general.InvisibleSupports) - { viewport->flags |= VIEWPORT_FLAG_INVISIBLE_SUPPORTS; - viewport->flags |= VIEWPORT_FLAG_HIDE_SUPPORTS; - } } };