mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- Blood: fixed issue with INI detection when having content added by RFS files.
This commit is contained in:
parent
135dd1f081
commit
d25838fe15
1 changed files with 2 additions and 1 deletions
|
@ -121,7 +121,8 @@ static const char* DefFile(void)
|
|||
int numlumps = fileSystem.GetNumEntries();
|
||||
for (int i = numlumps - 1; i >= 0; i--)
|
||||
{
|
||||
if (fileSystem.GetFileContainer(i) <= fileSystem.GetMaxIwadNum()) break;
|
||||
int fileno = fileSystem.GetFileContainer(i);
|
||||
if (fileno != -1 && fileno <= fileSystem.GetMaxIwadNum()) break;
|
||||
FString fn = fileSystem.GetFileFullName(i, false);
|
||||
FString ext = fn.Right(4);
|
||||
if (ext.CompareNoCase(".ini") == 0)
|
||||
|
|
Loading…
Reference in a new issue