2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-12-29 12:15:26 +01:00

ref: gl: don't create cl_righthand cvar

This commit is contained in:
Velaron 2023-08-30 12:14:58 +03:00 committed by Alibek Omarov
parent df921d8664
commit 1589defda1

View File

@ -3929,10 +3929,7 @@ void CL_InitStudioAPI( void )
pStudioDraw = &gStudioDraw;
// 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)" );
cl_righthand = Cvar_FindVar( "cl_righthand" );
// Xash will be used internal StudioModelRenderer
if( gEngfuncs.pfnGetStudioModelInterface( STUDIO_INTERFACE_VERSION, &pStudioDraw, &gStudioAPI ))