- fix lump name setup.
This commit is contained in:
parent
54dc687436
commit
8e250abe0a
2 changed files with 18 additions and 19 deletions
|
|
@ -608,7 +608,7 @@ int FIWadManager::IdentifyVersion (std::vector<std::string>&wadfiles, const char
|
|||
// Check for symbolic links leading to non-existent files and for files that are unreadable.
|
||||
for (unsigned int i = 0; i < mFoundWads.Size(); i++)
|
||||
{
|
||||
if (!FileExists(mFoundWads[i].mFullPath) || !FileReadable(mFoundWads[i].mFullPath)) mFoundWads.Delete(i);
|
||||
if (!FileExists(mFoundWads[i].mFullPath) || !FileReadable(mFoundWads[i].mFullPath)) mFoundWads.Delete(i--);
|
||||
}
|
||||
|
||||
// Now check if what got collected actually is an IWAD.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue