Skip to content
This repository was archived by the owner on Dec 24, 2023. It is now read-only.

Commit 6964bb6

Browse files
committed
[client] Fix launching of non-VGUI2 version
1 parent b9dbd12 commit 6964bb6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

cl_dll/cdll_int.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,10 +463,12 @@ void _DLLEXPORT HUD_DirectorMessage( int iSize, void *pbuf )
463463
}
464464

465465

466+
#ifdef USE_VGUI2
466467
/**
467468
* This function is never called, but it has to exist in order for the engine to load stuff from the client. - Solokiller
468469
*/
469470
extern "C" DLLEXPORT void* ClientFactory()
470471
{
471472
return nullptr;
472-
}
473+
}
474+
#endif

0 commit comments

Comments
 (0)