mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 12:06:07 +08:00
Fixed conflict between min/max macros and std::min/max when using GCC >= 4.2.
This commit is contained in:
@ -104,7 +104,7 @@ void CPlayerResource::UpdatePlayerData( void )
|
||||
m_bConnected.Set( i, 1 );
|
||||
m_iTeam.Set( i, pPlayer->GetTeamNumber() );
|
||||
m_bAlive.Set( i, pPlayer->IsAlive()?1:0 );
|
||||
m_iHealth.Set(i, max( 0, pPlayer->GetHealth() ) );
|
||||
m_iHealth.Set(i, MAX( 0, pPlayer->GetHealth() ) );
|
||||
|
||||
// Don't update ping / packetloss everytime
|
||||
|
||||
|
Reference in New Issue
Block a user