wad: Autoload both .wad and .lmp files.
Useful in the case of mods that are just .lmp replacements (DMXOPL?)
This commit is contained in:
parent
f5da1a45b1
commit
036484b643
1 changed files with 2 additions and 1 deletions
|
|
@ -207,7 +207,8 @@ void W_AutoLoadWADs(const char *path)
|
|||
glob_t *glob;
|
||||
const char *filename;
|
||||
|
||||
glob = I_StartGlob(path, "*.wad", GLOB_FLAG_NOCASE|GLOB_FLAG_SORTED);
|
||||
glob = I_StartMultiGlob(path, GLOB_FLAG_NOCASE|GLOB_FLAG_SORTED,
|
||||
"*.wad", "*.lmp", NULL);
|
||||
for (;;)
|
||||
{
|
||||
filename = I_NextGlob(glob);
|
||||
|
|
|
|||
Loading…
Reference in a new issue