numgrpfiles --> NUMGRPFILES in Apple/GameListSource.game.m

git-svn-id: https://svn.eduke32.com/eduke32@2562 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2012-03-28 19:44:14 +00:00
parent 3deb8d1d99
commit 55f3fdb9bc

View file

@ -23,8 +23,8 @@
list = [[NSMutableArray alloc] init]; list = [[NSMutableArray alloc] init];
for (p = foundgrps; p; p=p->next) { for (p = foundgrps; p; p=p->next) {
for (i=0; i<numgrpfiles; i++) if (p->crcval == grpfiles[i].crcval) break; for (i=0; i<NUMGRPFILES; i++) if (p->crcval == grpfiles[i].crcval) break;
if (i == numgrpfiles) continue; if (i == NUMGRPFILES) continue;
[list addObject:[[GrpFile alloc] initWithGrpfile:p andName:[NSString stringWithCString:grpfiles[i].name]]]; [list addObject:[[GrpFile alloc] initWithGrpfile:p andName:[NSString stringWithCString:grpfiles[i].name]]];
} }
} }