From 71cafec63bc48e35fe545b530ef4987f8ac29e40 Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Fri, 10 Jan 2025 05:21:53 -0500 Subject: [PATCH] - allow defcvars from pwad files --- src/d_defcvars.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/d_defcvars.cpp b/src/d_defcvars.cpp index 3a1985070..20c78b488 100644 --- a/src/d_defcvars.cpp +++ b/src/d_defcvars.cpp @@ -45,6 +45,8 @@ void D_GrabCVarDefaults() while ((lump = fileSystem.FindLump("DEFCVARS", &lastlump)) != -1) { +#if 0 +// what a silly restriction from gzdoom, thankfully we don't have to adhere to it in vkdoom! // don't parse from wads if (lastlump > fileSystem.GetLastEntry(fileSystem.GetMaxIwadNum())) { @@ -52,6 +54,7 @@ void D_GrabCVarDefaults() Printf(TEXTCOLOR_RED "Cannot load DEFCVARS from a wadfile!\n"); break; } +#endif FScanner sc(lump);