mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-28 06:53:29 +00:00
added -noautoload command line option.
This commit is contained in:
parent
4b6646da03
commit
39b78dede1
1 changed files with 12 additions and 9 deletions
|
@ -376,6 +376,8 @@ void InitFileSystem(TArray<GrpEntry>& groups)
|
|||
fileSystem.SetIwadNum(1);
|
||||
fileSystem.SetMaxIwadNum((int)Files.size() - 1);
|
||||
|
||||
if (!Args->CheckParm("-noautoload"))
|
||||
{
|
||||
D_AddConfigFiles(Files, "Global.Autoload", "*.grp", GameConfig);
|
||||
|
||||
size_t len;
|
||||
|
@ -387,6 +389,7 @@ void InitFileSystem(TArray<GrpEntry>& groups)
|
|||
D_AddConfigFiles(Files, file.GetChars(), "*.grp", GameConfig);
|
||||
lastpos += len + 1;
|
||||
}
|
||||
}
|
||||
|
||||
if (!insertdirectoriesafter && userConfig.AddFilesPre) for (auto& file : *userConfig.AddFilesPre)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue