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:
parent
221e62bfc2
commit
65ae592ca6
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue