Skip to content

Commit

Permalink
- set the main resource file's index in the file system.
Browse files Browse the repository at this point in the history
Some checks need this.
  • Loading branch information
coelckers committed May 31, 2021
1 parent 9ab24f6 commit 1636ddc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/core/initfs.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 1636ddc

Please sign in to comment.