mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-25 19:29:13 +01:00
Check if we have sv_language cvar to detect Xash3D.
This commit is contained in:
parent
38950e4e41
commit
90193a9383
@ -462,7 +462,7 @@ cvar_t sk_player_leg3 = { "sk_player_leg3","1" };
|
||||
void GameDLLInit( void )
|
||||
{
|
||||
// Register cvars here:
|
||||
if( CVAR_GET_POINTER( "build" ) )
|
||||
if( !CVAR_GET_POINTER( "sv_language" ) )
|
||||
g_fIsXash3D = TRUE;
|
||||
|
||||
g_psv_gravity = CVAR_GET_POINTER( "sv_gravity" );
|
||||
|
Loading…
Reference in New Issue
Block a user