strife: Add autoloading for .seh files.

I'm not sure there are any mods for Strife people would want to
autoload on startup every time, but this is at least consistent with
other executables.
This commit is contained in:
Simon Howard 2018-11-03 13:22:16 -04:00
parent 221e62bfc2
commit 65ae592ca6
2 changed files with 2 additions and 2 deletions

View file

@ -414,7 +414,7 @@ void DEH_AutoLoadPatches(const char *path)
glob_t *glob;
glob = I_StartMultiGlob(path, GLOB_FLAG_NOCASE|GLOB_FLAG_SORTED,
"*.deh", "*.hhe", NULL);
"*.deh", "*.hhe", "*.seh", NULL);
for (;;)
{
filename = I_NextGlob(glob);

View file

@ -1745,7 +1745,7 @@ void D_DoomMain (void)
{
char *autoload_dir;
autoload_dir = M_GetAutoloadDir("strife1.wad");
// TODO? DEH_AutoLoadPatches(autoload_dir);
DEH_AutoLoadPatches(autoload_dir);
W_AutoLoadWADs(autoload_dir);
free(autoload_dir);
}