From 95f87e24eed28bc92110f469d3f72e1c074b00cb Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Fri, 29 Sep 2023 13:45:15 +0300 Subject: [PATCH] ref: soft: do not register cl_righthand cvar --- ref/soft/r_studio.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/ref/soft/r_studio.c b/ref/soft/r_studio.c index 8d7e2d0e..50affdeb 100644 --- a/ref/soft/r_studio.c +++ b/ref/soft/r_studio.c @@ -3711,9 +3711,6 @@ void GAME_EXPORT CL_InitStudioAPI( void ) // trying to grab them from client.dll cl_righthand = gEngfuncs.pfnGetCvarPointer( "cl_righthand", 0 ); - if( cl_righthand == NULL ) - cl_righthand = gEngfuncs.Cvar_Get( "cl_righthand", "0", FCVAR_ARCHIVE, "flip viewmodel (left to right)" ); - // Xash will be used internal StudioModelRenderer if( gEngfuncs.pfnGetStudioModelInterface( STUDIO_INTERFACE_VERSION, &pStudioDraw, &gStudioAPI )) return;