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

Revert "Don't apply viewport flags on title scene (#22670)"

This reverts commit 032874c80d.
This commit is contained in:
Gymnasiast
2024-09-20 20:46:54 +02:00
parent 78e12b9684
commit f1ca888897

View File

@@ -13,7 +13,6 @@
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2/Context.h>
#include <openrct2/OpenRCT2.h>
#include <openrct2/config/Config.h>
#include <openrct2/world/Footpath.h>
@@ -36,7 +35,7 @@ namespace OpenRCT2::Ui::Windows
widgets = _mainWidgets;
ViewportCreate(this, windowPos, width, height, Focus(CoordsXYZ(0x0FFF, 0x0FFF, 0)));
if (viewport != nullptr && !(gScreenFlags & SCREEN_FLAGS_TITLE_DEMO))
if (viewport != nullptr)
{
SetViewportFlags();
viewport->rotation = 0;