diff --git a/polymer/eduke32/Apple/GameListSource.game.m b/polymer/eduke32/Apple/GameListSource.game.m index 4743c9655..9dc5a2d09 100644 --- a/polymer/eduke32/Apple/GameListSource.game.m +++ b/polymer/eduke32/Apple/GameListSource.game.m @@ -23,8 +23,8 @@ list = [[NSMutableArray alloc] init]; for (p = foundgrps; p; p=p->next) { - for (i=0; icrcval == grpfiles[i].crcval) break; - if (i == numgrpfiles) continue; + for (i=0; icrcval == grpfiles[i].crcval) break; + if (i == NUMGRPFILES) continue; [list addObject:[[GrpFile alloc] initWithGrpfile:p andName:[NSString stringWithCString:grpfiles[i].name]]]; } }