Fix IDE0200
This commit is contained in:
committed by
Gustas Kažukauskas
parent
ce3ad6fbb3
commit
0338258b45
@@ -87,7 +87,7 @@ namespace OpenRA.Primitives
|
||||
return true;
|
||||
|
||||
// Easy case 4: Polygon vertex is inside rect
|
||||
if (Vertices.Any(p => rect.Contains(p)))
|
||||
if (Vertices.Any(rect.Contains))
|
||||
return true;
|
||||
|
||||
// Hard case: check intersection of every line segment pair
|
||||
|
||||
Reference in New Issue
Block a user