mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-04 18:09:53 +03:00
game: fix compilation problems for clang
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user