From 3a9801853de5df6a06cffb210e5d692e158c9b37 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Tue, 26 Nov 2019 02:47:25 +0300 Subject: [PATCH] engine: client: detailed message if menu failed to load --- engine/client/cl_scrn.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engine/client/cl_scrn.c b/engine/client/cl_scrn.c index 52ba1827..73e54038 100644 --- a/engine/client/cl_scrn.c +++ b/engine/client/cl_scrn.c @@ -18,6 +18,7 @@ GNU General Public License for more details. #include "vgui_draw.h" #include "qfont.h" #include "input.h" +#include "library.h" convar_t *scr_centertime; convar_t *scr_loading; @@ -777,7 +778,7 @@ void SCR_Init( void ) if( !UI_LoadProgs( )) { - Con_Printf( S_ERROR "can't initialize gameui.dll\n" ); // there is non fatal for us + Con_Printf( S_ERROR "can't initialize gameui DLL: %s\n", COM_GetLibraryError() ); // there is non fatal for us host.allow_console = true; // we need console, because menu is missing }