From c0e398e7acdc279a0b94c9dde0aeb0acadb88c45 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 30 May 2009 17:14:17 +0000 Subject: [PATCH] - fixed compile error in d_iwad.cpp SVN r1622 (trunk) --- src/d_iwad.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/d_iwad.cpp b/src/d_iwad.cpp index c3bce6034..564b20435 100644 --- a/src/d_iwad.cpp +++ b/src/d_iwad.cpp @@ -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)