mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 14:24:33 +01:00
Convert g_window_list to a std::vector
This commit is contained in:
@@ -865,9 +865,9 @@ rct_string_id theme_desc_get_name(rct_windowclass wc)
|
||||
|
||||
void colour_scheme_update_all()
|
||||
{
|
||||
for (rct_window *w = g_window_list; w < gWindowNextSlot; w++)
|
||||
for (auto& w : g_window_list)
|
||||
{
|
||||
colour_scheme_update(w);
|
||||
colour_scheme_update(&w);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user