shithub: choc

Download patch

ref: dc22bb700c95d7078fb8ba2c6e225c41ec17ab3e
parent: 2d01baab77a509c5167d14ea7ed11d551ca0c664
author: Fabian Greffrath <[email protected]>
date: Mon Sep 2 17:06:26 EDT 2019

doom: no doom-all auto-load for Hacx and Chex Quest

--- a/src/doom/d_main.c
+++ b/src/doom/d_main.c
@@ -1517,10 +1517,13 @@
 
         // common auto-loaded files for all Doom flavors
 
-        autoload_dir = M_GetAutoloadDir("doom-all");
-        DEH_AutoLoadPatches(autoload_dir);
-        W_AutoLoadWADs(autoload_dir);
-        free(autoload_dir);
+        if (gamemission < pack_chex)
+        {
+            autoload_dir = M_GetAutoloadDir("doom-all");
+            DEH_AutoLoadPatches(autoload_dir);
+            W_AutoLoadWADs(autoload_dir);
+            free(autoload_dir);
+        }
 
         // auto-loaded files per IWAD