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

This reverts commit 032874c80d.
This commit is contained in:
Gymnasiast committed 2024-09-22 19:56:02 +02:00
1 parent 78e12b9684
commit f1ca888897
1 file changed
+1 -2
+1 -2
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;