1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-20 12:36:05 +08:00

Fix conflicts with std::swap.

This commit is contained in:
David Anderson
2020-05-18 17:43:55 -07:00
parent c59809b16e
commit be49946fbe
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.