commit 65ae592ca6f78ebbaa567b4922acc9668d7420ab
Author: Simon Howard <fraggle@soulsphere.org>
AuthorDate: Sat Nov 3 13:22:16 2018 -0400
Commit: Simon Howard <fraggle@soulsphere.org>
CommitDate: Sat Nov 3 13:22:16 2018 -0400
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.
---
src/deh_main.c | 2 +-
src/strife/d_main.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/deh_main.c b/src/deh_main.c
index 1f27e858..4e0d41ec 100644
--- a/src/deh_main.c
+++ b/src/deh_main.c
@@ -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);
diff --git a/src/strife/d_main.c b/src/strife/d_main.c
index 03fd9114..54218398 100644
--- a/src/strife/d_main.c
+++ b/src/strife/d_main.c
@@ -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);
}