ref: 65ae592ca6f78ebbaa567b4922acc9668d7420ab
parent: 221e62bfc2a83e610b16bd1c7d86e68eced02ba4
author: Simon Howard <fraggle@soulsphere.org>
date: Sat Nov 3 09:22:16 EDT 2018
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.
--- a/src/deh_main.c
+++ b/src/deh_main.c
@@ -414,7 +414,7 @@
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);
--- a/src/strife/d_main.c
+++ b/src/strife/d_main.c
@@ -1745,7 +1745,7 @@
{
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);
}