From f3d8a2bcb0548ec8349adf5feb1516e6d21ac371 Mon Sep 17 00:00:00 2001 From: Velaron Date: Thu, 3 Sep 2020 02:53:18 +0300 Subject: [PATCH] client: vgui: don't fail if client path not given --- engine/client/vgui/vgui_draw.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/engine/client/vgui/vgui_draw.c b/engine/client/vgui/vgui_draw.c index f0ea6edf..f516a737 100644 --- a/engine/client/vgui/vgui_draw.c +++ b/engine/client/vgui/vgui_draw.c @@ -329,7 +329,10 @@ void VGui_Startup( const char *clientlib, int width, int height ) //host.mouse_visible = true; vgui.Startup( width, height ); } - else failed = true; + else if ( COM_CheckString( clientlib ) ) + { + failed = true; + } }