mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 06:53:40 +00:00
- fixed compile error in d_iwad.cpp
SVN r1622 (trunk)
This commit is contained in:
parent
2effc9b803
commit
c0e398e7ac
1 changed files with 3 additions and 2 deletions
|
@ -189,15 +189,16 @@ static EIWADType ScanIWAD (const char *iwad)
|
|||
Check_e2m1
|
||||
};
|
||||
int lumpsfound[NUM_CHECKLUMPS];
|
||||
int i;
|
||||
|
||||
memset (lumpsfound, 0, sizeof(lumpsfound));
|
||||
FResourceFile *iwadfile = FResourceFile::OpenResourceFile(iwad, NULL, true);
|
||||
|
||||
if (iwadfile != NULL)
|
||||
{
|
||||
for(DWORD i = 0; i < iwadfile->LumpCount(); i++)
|
||||
for(DWORD ii = 0; ii < iwadfile->LumpCount(); ii++)
|
||||
{
|
||||
FResourceLump *lump = iwadfile->GetLump(i);
|
||||
FResourceLump *lump = iwadfile->GetLump(ii);
|
||||
|
||||
for (DWORD j = 0; j < NUM_CHECKLUMPS; j++)
|
||||
if (strnicmp (lump->Name, checklumps[j], 8) == 0)
|
||||
|
|
Loading…
Reference in a new issue