From bda49d0bf763ae07ef966be7a8b81091b5a9a8be Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Sat, 1 Aug 2020 06:01:29 -0400 Subject: [PATCH] - demote pwad defcvars error to a warning --- src/d_main.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/d_main.cpp b/src/d_main.cpp index a3fe910b8..e39d0bf76 100644 --- a/src/d_main.cpp +++ b/src/d_main.cpp @@ -337,7 +337,11 @@ void D_GrabCVarDefaults() { // don't parse from wads if (lastlump > fileSystem.GetLastEntry(fileSystem.GetMaxIwadNum())) - I_FatalError("Cannot load DEFCVARS from a wadfile!\n"); + { + // would rather put this in a modal of some sort, but this will have to do. + Printf(TEXTCOLOR_RED "Cannot load DEFCVARS from a wadfile!\n"); + break; + } FScanner sc(lump);