From e20824d1fa3f1277ae7823e20e5a9b2bb9f2ec07 Mon Sep 17 00:00:00 2001 From: Matt <5415177+ZehMatt@users.noreply.github.com> Date: Sat, 17 May 2025 23:38:25 +0300 Subject: [PATCH] Fix #24422: More than one viewport is causing issues --- src/openrct2/interface/Viewport.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openrct2/interface/Viewport.cpp b/src/openrct2/interface/Viewport.cpp index 6a8801be84..7bc105fe34 100644 --- a/src/openrct2/interface/Viewport.cpp +++ b/src/openrct2/interface/Viewport.cpp @@ -47,7 +47,7 @@ #include "WindowBase.h" #include -#include +#include #include namespace OpenRCT2 @@ -65,7 +65,7 @@ namespace OpenRCT2 uint8_t gShowLandRightsRefCount; uint8_t gShowConstructionRightsRefCount; - static sfl::segmented_vector _viewports; + static std::list _viewports; Viewport* g_music_tracking_viewport; static std::unique_ptr _paintJobs;