From f83645804e325d268d2e6c2c3dac15aeef452130 Mon Sep 17 00:00:00 2001 From: Alug Date: Thu, 18 Sep 2025 16:38:19 +0200 Subject: [PATCH] remove erronous errors W_InitFileError from within W_InitMultipleFiles will handle this --- src/d_main.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/src/d_main.c b/src/d_main.c index c18261c16..f0327fe85 100644 --- a/src/d_main.c +++ b/src/d_main.c @@ -1876,14 +1876,9 @@ void D_SRB2Main(void) // load wad, including the main wad file CONS_Printf("W_InitMultipleFiles(): Adding IWAD and main PWADs.\n"); - if (!W_InitMultipleFiles(startupwadfiles, false)) -#ifdef _DEBUG - CONS_Error("A WAD file was not found or not valid.\nCheck the log to see which ones.\n"); -#else - I_Error("A WAD file was not found or not valid.\nCheck the log to see which ones.\n"); -#endif - D_CleanFile(startupwadfiles); + W_InitMultipleFiles(startupwadfiles, false); + D_CleanFile(startupwadfiles); mainwads = 0; #ifndef DEVELOP @@ -1946,8 +1941,7 @@ void D_SRB2Main(void) } } - if (!W_InitMultipleFiles(startuppwads, true)) - CONS_Error("A PWAD file was not found or not valid.\nCheck the log to see which ones.\n"); + W_InitMultipleFiles(startuppwads, true); D_CleanFile(startuppwads); //