mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-22 23:33:04 +01:00
Rename WINDOW_LIMIT_RESERVED to kWindowLimitReserved
This commit is contained in:
committed by
Harry Hopkinson
parent
9e2b45fab3
commit
8ce6ba7606
@@ -164,7 +164,7 @@ static void WindowCloseSurplus(int32_t cap, WindowClass avoid_classification)
|
||||
// find the amount of windows that are currently open
|
||||
auto count = static_cast<int32_t>(g_window_list.size());
|
||||
// difference between amount open and cap = amount to close
|
||||
auto diff = count - WINDOW_LIMIT_RESERVED - cap;
|
||||
auto diff = count - kWindowLimitReserved - cap;
|
||||
for (auto i = 0; i < diff; i++)
|
||||
{
|
||||
// iterates through the list until it finds the newest window, or a window that can be closed
|
||||
|
||||
Reference in New Issue
Block a user