Fix Warning in Xcode (#4241)

This commit is contained in:
LRFLEW 2016-08-12 02:34:05 -05:00 committed by Michael Steenbeek
parent 85210322ae
commit aa962b2cc8
1 changed files with 1 additions and 0 deletions

View File

@ -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;