Tweak corpses
This commit is contained in:
@@ -185,6 +185,3 @@ isWalkable :: Point2 -> Point2 -> World -> Bool
|
||||
isWalkable p1 p2 w = isFlyable p1 p2 w && not (any f (w ^. cWorld . cliffs))
|
||||
where
|
||||
f = isJust . uncurry (intersectSegSeg p1 p2)
|
||||
--isWalkable p1 p2 w = isFlyable p1 p2 w && not (getAny $ foldMap f (w ^. cWorld . chasms))
|
||||
-- where
|
||||
-- f = foldMap (Any . isJust . uncurry (intersectSegSeg p1 p2)) . loopPairs
|
||||
|
||||
Reference in New Issue
Block a user