mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix Warning in Xcode (#4241)
This commit is contained in:
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;
|
||||
|
|
Loading…
Reference in New Issue