From 8eef2127260b757c99c72e206c4a9931adfe6156 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Thu, 31 Aug 2023 08:40:24 +0300 Subject: [PATCH] ref: gl: fix compile --- ref/gl/gl_studio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ref/gl/gl_studio.c b/ref/gl/gl_studio.c index 54f958cd..e212fbe6 100644 --- a/ref/gl/gl_studio.c +++ b/ref/gl/gl_studio.c @@ -3929,7 +3929,7 @@ void CL_InitStudioAPI( void ) pStudioDraw = &gStudioDraw; // trying to grab them from client.dll - cl_righthand = Cvar_FindVar( "cl_righthand" ); + cl_righthand = gEngfuncs.pfnGetCvarPointer( "cl_righthand", 0 ); // Xash will be used internal StudioModelRenderer if( gEngfuncs.pfnGetStudioModelInterface( STUDIO_INTERFACE_VERSION, &pStudioDraw, &gStudioAPI ))