diff --git a/libs/kimath/src/geometry/shape_collisions.cpp b/libs/kimath/src/geometry/shape_collisions.cpp index ef3426a68e..44daf56f23 100644 --- a/libs/kimath/src/geometry/shape_collisions.cpp +++ b/libs/kimath/src/geometry/shape_collisions.cpp @@ -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++ ) { - VECTOR2I f = pushoutForce( cmoved, aB.GetSegment( s ), aClearance ); + f = pushoutForce( cmoved, aB.GetSegment( s ), aClearance ); cmoved.SetCenter( cmoved.GetCenter() + f ); f_total += f; }