Fix Warning in Xcode (#4241)

This commit is contained in:
LRFLEW authored and Michael Steenbeek committed 2016-08-12 09:34:05 +02:00
1 parent 85210322ae
commit aa962b2cc8
1 file changed
+1
+1
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;