game: fix compilation problems for clang

This commit is contained in:
nillerusr
2022-06-20 14:17:53 +03:00
parent ff99055be1
commit ddafaa790e
5 changed files with 6 additions and 6 deletions

View File

@@ -207,7 +207,7 @@ void CHalfLife2Survival::ParseSurvivalSettings( KeyValues *pSubKey )
}
else if ( !stricmp( pTestKey->GetName(), "spawnhealth" ) )
{
m_SurvivalSettings.m_iSpawnHealth = pTestKey->GetInt( NULL, 100 );
m_SurvivalSettings.m_iSpawnHealth = pTestKey->GetInt( 0, 100 );
}
else if ( !stricmp( pTestKey->GetName(), "allowedpickups" ) )
{
@@ -270,4 +270,4 @@ void CHalfLife2Survival::CreateStandardEntities( void )
#endif
#endif
#endif