- set the main resource file's index in the file system.

Some checks need this.
This commit is contained in:
Christoph Oelckers 2021-05-31 21:19:29 +02:00
parent 9ab24f6031
commit 1636ddc00e

View file

@ -339,6 +339,7 @@ void InitFileSystem(TArray<GrpEntry>& groups)
}
i--;
}
fileSystem.SetIwadNum(1);
fileSystem.SetMaxIwadNum(Files.Size() - 1);
D_AddConfigFiles(Files, "Global.Autoload", "*.grp", GameConfig);