mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +00:00
- added missing NULL pointer check for directory loading.
SVN r1625 (trunk)
This commit is contained in:
parent
627838f379
commit
4be0324dbd
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ void FWadCollection::InitMultipleFiles (wadlist_t **filenames, const char *loadd
|
|||
M_Free (*filenames);
|
||||
*filenames = next;
|
||||
}
|
||||
AddFile(loaddir, NULL, true);
|
||||
if (loaddir != NULL) AddFile(loaddir, NULL, true);
|
||||
|
||||
NumLumps = LumpInfo.Size();
|
||||
if (NumLumps == 0)
|
||||
|
|
Loading…
Reference in a new issue