mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 06:41:59 +00:00
- Blood: don't abort the INI scanner if it finds a file with resource file index 0.
0 is also used for on-the-fly addition of data to the file system, so this must run through the entire directory to be safe.
This commit is contained in:
parent
d5a4a17ced
commit
c288de920d
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ static const char* DefFile(void)
|
|||
for (int i = numlumps - 1; i >= 0; i--)
|
||||
{
|
||||
int fileno = fileSystem.GetFileContainer(i);
|
||||
if (fileno != -1 && fileno <= fileSystem.GetMaxIwadNum()) break;
|
||||
if (fileno != -1 && fileno <= fileSystem.GetMaxIwadNum()) continue;
|
||||
FString fn = fileSystem.GetFileFullName(i, false);
|
||||
FString ext = fn.Right(4);
|
||||
if (ext.CompareNoCase(".ini") == 0)
|
||||
|
|
Loading…
Reference in a new issue