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 ))