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:
@ -1280,7 +1280,7 @@ IPhysicsConstraint *CPhysSlideConstraint::CreateConstraint( IPhysicsConstraintGr
|
||||
sliding.limitMax = DotProduct( axisDirection, m_axisEnd );
|
||||
if ( sliding.limitMax < sliding.limitMin )
|
||||
{
|
||||
swap( sliding.limitMin, sliding.limitMax );
|
||||
V_swap( sliding.limitMin, sliding.limitMax );
|
||||
}
|
||||
|
||||
// expand limits to make initial position of the attached object valid
|
||||
|
Reference in New Issue
Block a user