Cleanup
This commit is contained in:
@@ -164,7 +164,7 @@ isFlyable :: Point2 -> Point2 -> World -> Bool
|
||||
{-# INLINE isFlyable #-}
|
||||
isFlyable p1 p2 =
|
||||
not . (WallNotAutoOpen `S.member`)
|
||||
. foldMap (getWallPathing . (^. _2))
|
||||
. foldMap (^. _2 . to getWallPathing)
|
||||
. wlsHitUnsorted p1 p2
|
||||
|
||||
isWalkable :: Point2 -> Point2 -> World -> Bool
|
||||
|
||||
Reference in New Issue
Block a user