ref: vk: do not create cl_righthand cvar

This commit is contained in:
Alibek Omarov 2023-10-06 22:48:07 +03:00
parent 2c520a6a55
commit 3f505103e1
1 changed files with 0 additions and 3 deletions

View File

@ -3576,9 +3576,6 @@ void CL_InitStudioAPI( void )
// trying to grab them from client.dll
cl_righthand = gEngine.pfnGetCvarPointer( "cl_righthand", 0 );
if( cl_righthand == NULL )
cl_righthand = gEngine.Cvar_Get( "cl_righthand", "0", FCVAR_ARCHIVE, "flip viewmodel (left to right)" );
// Xash will be used internal StudioModelRenderer
if( gEngine.pfnGetStudioModelInterface( STUDIO_INTERFACE_VERSION, &pStudioDraw, &gStudioAPI ))
return;