1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 14:54:30 +01:00

Revert "Fix #21123: Transparency options are not respected on startup (#22659)"

This reverts commit c54e25c1d4.
This commit is contained in:
Gymnasiast
2024-09-20 20:47:30 +02:00
parent f1ca888897
commit a85c140e35
2 changed files with 0 additions and 19 deletions

View File

@@ -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.

View File

@@ -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;
}
}
};