mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-06 06:32:56 +01:00
Fix Warning in Xcode (#4241)
This commit is contained in:
committed by
Michael Steenbeek
parent
85210322ae
commit
aa962b2cc8
@@ -350,6 +350,7 @@ static void window_close_surplus(int cap, sint8 avoid_classification)
|
||||
{
|
||||
int count, i, diff;
|
||||
//find the amount of windows that are currently open
|
||||
count = WINDOW_LIMIT_MAX;
|
||||
for (i = 0; i < WINDOW_LIMIT_MAX; i++) {
|
||||
if (&g_window_list[i] == RCT2_NEW_WINDOW) {
|
||||
count = i;
|
||||
|
||||
Reference in New Issue
Block a user