1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-02-02 03:35:09 +01:00

Change g_window_list to use the heap for windows

This commit is contained in:
Ted John
2018-06-16 15:36:59 +01:00
parent 0f6138f8b6
commit 98905fdbc3
8 changed files with 161 additions and 155 deletions

View File

@@ -507,9 +507,9 @@ public:
{
for (auto& w : g_window_list)
{
if (w.viewport == viewport)
if (w->viewport == viewport)
{
return &w;
return w.get();
}
}
return nullptr;