mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: remove unused ignore_group argument from Cvar_FindVarExt
This commit is contained in:
@@ -675,7 +675,7 @@ void R_ShowTextures( void )
|
||||
time -= floor( time );
|
||||
time_cubemap = gp_cl->time * 0.25f;
|
||||
time_cubemap -= floor( time_cubemap );
|
||||
time_cubemap *= 6.2831853f;
|
||||
time_cubemap *= M_PI2_F;
|
||||
SinCos( time_cubemap, &cbm_sin, &cbm_cos );
|
||||
|
||||
gEngfuncs.Con_DrawStringLen( NULL, NULL, &charHeight );
|
||||
|
||||
@@ -3902,7 +3902,7 @@ static void pfnMod_LoadCacheFile( const char *path, struct cache_user_s *cu )
|
||||
|
||||
static cvar_t *pfnGetCvarPointer( const char *name )
|
||||
{
|
||||
return (cvar_t*)gEngfuncs.pfnGetCvarPointer( name, 0 );
|
||||
return (cvar_t*)gEngfuncs.pfnGetCvarPointer( name );
|
||||
}
|
||||
|
||||
static void *pfnMod_Calloc( int number, size_t size )
|
||||
@@ -3979,7 +3979,7 @@ void CL_InitStudioAPI( void )
|
||||
pStudioDraw = &gStudioDraw;
|
||||
|
||||
// trying to grab them from client.dll
|
||||
cl_righthand = gEngfuncs.pfnGetCvarPointer( "cl_righthand", 0 );
|
||||
cl_righthand = gEngfuncs.pfnGetCvarPointer( "cl_righthand" );
|
||||
|
||||
// Xash will be used internal StudioModelRenderer
|
||||
if( gEngfuncs.pfnGetStudioModelInterface( STUDIO_INTERFACE_VERSION, &pStudioDraw, &gStudioAPI ))
|
||||
|
||||
@@ -3527,7 +3527,7 @@ static void pfnMod_LoadCacheFile( const char *path, struct cache_user_s *cu )
|
||||
|
||||
static cvar_t *pfnGetCvarPointer( const char *name )
|
||||
{
|
||||
return (cvar_t *)gEngfuncs.pfnGetCvarPointer( name, 0 );
|
||||
return (cvar_t *)gEngfuncs.pfnGetCvarPointer( name );
|
||||
}
|
||||
|
||||
static void *pfnMod_Calloc( int number, size_t size )
|
||||
@@ -3604,7 +3604,7 @@ void GAME_EXPORT CL_InitStudioAPI( void )
|
||||
pStudioDraw = &gStudioDraw;
|
||||
|
||||
// trying to grab them from client.dll
|
||||
cl_righthand = gEngfuncs.pfnGetCvarPointer( "cl_righthand", 0 );
|
||||
cl_righthand = gEngfuncs.pfnGetCvarPointer( "cl_righthand" );
|
||||
|
||||
// Xash will be used internal StudioModelRenderer
|
||||
if( gEngfuncs.pfnGetStudioModelInterface( STUDIO_INTERFACE_VERSION, &pStudioDraw, &gStudioAPI ))
|
||||
|
||||
Reference in New Issue
Block a user