1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-20 04:26:03 +08:00

Fix conflicts with std::swap.

This commit is contained in:
David Anderson
2020-05-18 17:43:34 -07:00
parent 049f030433
commit b1cae9d92c
26 changed files with 57 additions and 57 deletions

View File

@ -943,7 +943,7 @@ static unsigned char ComputeDistanceFade( C_BaseEntity *pEntity, float flMinDist
if( flMinDist > flMaxDist )
{
swap( flMinDist, flMaxDist );
V_swap( flMinDist, flMaxDist );
}
// If a negative value is provided for the min fade distance, then base it off the max.