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