add missing check for embedded WADs.
This commit is contained in:
parent
cffa49d05f
commit
7ce63abe6c
2 changed files with 30 additions and 13 deletions
|
|
@ -308,8 +308,10 @@ FIWadManager::FIWadManager(const char *firstfn, const char *optfn)
|
|||
std::vector<std::string> fns;
|
||||
fns.push_back(firstfn);
|
||||
if (optfn) fns.push_back(optfn);
|
||||
FileSys::LumpFilterInfo lfi;
|
||||
GetReserved(lfi);
|
||||
|
||||
if (check.InitMultipleFiles(fns, nullptr, nullptr))
|
||||
if (check.InitMultipleFiles(fns, &lfi, nullptr))
|
||||
{
|
||||
int num = check.CheckNumForName("IWADINFO");
|
||||
if (num >= 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue