From d7422b8ec998ad098582ab01e0c55c8bcb2d72ff Mon Sep 17 00:00:00 2001 From: Indev Date: Mon, 6 Oct 2025 17:44:47 +0300 Subject: [PATCH] Don't I_Error in W_InitFileError, that causes dedicated servers to bootloop --- src/w_wad.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/w_wad.c b/src/w_wad.c index 4a993a7f4..1cfb3f616 100644 --- a/src/w_wad.c +++ b/src/w_wad.c @@ -45,6 +45,7 @@ #include "w_wad.h" #include "z_zone.h" #include "fastcmp.h" +#include "console.h" #include "g_game.h" // G_LoadGameData #include "d_main.h" @@ -760,11 +761,7 @@ static UINT16 W_InitFileError(const char *filename, boolean exitworthy) { if (exitworthy) { -#ifdef _DEBUG CONS_Error(va("%s was not found or not valid.\nCheck the log for more details.\n", filename)); -#else - I_Error("%s was not found or not valid.\nCheck the log for more details.\n", filename); -#endif } else CONS_Printf(M_GetText("Errors occurred while loading %s; not added.\n"), filename);