Fix bugs in zoning
This commit is contained in:
@@ -327,7 +327,7 @@ canSeeIndirect i j w = hasLOSIndirect ipos jpos w
|
||||
anythingHitCirc :: Float -> Point2 -> Point2 -> World -> Bool
|
||||
anythingHitCirc rad sp ep w = hitCr || isJust (sequence hitWl)
|
||||
where
|
||||
hitCr = IS.foldr f False $ crsNearSeg sp ep w
|
||||
hitCr = IS.foldr f False $ crixsNearSeg sp ep w
|
||||
f cid bl =
|
||||
maybe
|
||||
False
|
||||
|
||||
Reference in New Issue
Block a user