Use circles instead of points for zome wall zones
This commit is contained in:
@@ -90,7 +90,7 @@ crOnWall :: Creature -> World -> Bool
|
||||
crOnWall cr =
|
||||
any (uncurry (circOnSeg p r) . _wlLine)
|
||||
. filter notff
|
||||
. wlsNearPoint p
|
||||
. wlsNearCirc p r
|
||||
where
|
||||
notff x = x ^. wlMaterial /= ForceField
|
||||
p = cr ^. crPos . _xy
|
||||
|
||||
Reference in New Issue
Block a user