diff --git a/common/view/view.cpp b/common/view/view.cpp index dddc6ae5a7..cecb564658 100644 --- a/common/view/view.cpp +++ b/common/view/view.cpp @@ -622,6 +622,9 @@ void VIEW::SetCenter( const VECTOR2D& aCenter, const std::vector& obscuri BOX2I bbox = unobscuredPoly.BBox(); int step = std::min( bbox.GetWidth(), bbox.GetHeight() ) / 10; + if( step < 20 ) + step = 20; + while( !unobscuredPoly.IsEmpty() ) { unobscuredCenter = unobscuredPoly.BBox().Centre();