ref: 036484b643e36ef5e17685a0b92c68cfd7accc30
parent: f5da1a45b1d34e40b4687a6add3b8a2b3685f525
author: Simon Howard <fraggle@soulsphere.org>
date: Sat Nov 3 09:12:12 EDT 2018
wad: Autoload both .wad and .lmp files. Useful in the case of mods that are just .lmp replacements (DMXOPL?)
--- a/src/w_main.c
+++ b/src/w_main.c
@@ -207,7 +207,8 @@
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);