Fix shadowed variable warning.
This commit is contained in:
parent
357427d803
commit
43fa5e957f
|
@ -253,7 +253,7 @@ static inline bool Collide( const SHAPE_CIRCLE& aA, const SHAPE_LINE_CHAIN_BASE&
|
||||||
|
|
||||||
for( size_t s = 0; s < aB.GetSegmentCount(); s++ )
|
for( size_t s = 0; s < aB.GetSegmentCount(); s++ )
|
||||||
{
|
{
|
||||||
VECTOR2I f = pushoutForce( cmoved, aB.GetSegment( s ), aClearance );
|
f = pushoutForce( cmoved, aB.GetSegment( s ), aClearance );
|
||||||
cmoved.SetCenter( cmoved.GetCenter() + f );
|
cmoved.SetCenter( cmoved.GetCenter() + f );
|
||||||
f_total += f;
|
f_total += f;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue