From 6964bb65fd753622eb788d511454ac2e57ca535d Mon Sep 17 00:00:00 2001 From: tmp64 Date: Thu, 1 Nov 2018 13:17:39 +0700 Subject: [PATCH] [client] Fix launching of non-VGUI2 version --- cl_dll/cdll_int.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cl_dll/cdll_int.cpp b/cl_dll/cdll_int.cpp index bbbcb69e..f5daff89 100644 --- a/cl_dll/cdll_int.cpp +++ b/cl_dll/cdll_int.cpp @@ -463,10 +463,12 @@ void _DLLEXPORT HUD_DirectorMessage( int iSize, void *pbuf ) } +#ifdef USE_VGUI2 /** * This function is never called, but it has to exist in order for the engine to load stuff from the client. - Solokiller */ extern "C" DLLEXPORT void* ClientFactory() { return nullptr; -} \ No newline at end of file +} +#endif