Remove reified impulses from creature record
This commit is contained in:
+1
-1
@@ -57,7 +57,7 @@ walkableNodeNear w p = fmap fst . find (flip (isWalkable p) w . snd) $ nodesNear
|
||||
nodesNear = zonesExtract (w ^. pnZoning) . snailAround $ zoneOfPoint pnZoneSize p
|
||||
|
||||
snailAround :: Int2 -> [Int2]
|
||||
snailAround x = fmap (x+) $ smallSnailInt2
|
||||
snailAround x = (x+) <$> smallSnailInt2
|
||||
|
||||
smallSnailInt2 :: [Int2]
|
||||
smallSnailInt2 = sortOn (distance (V2 0 (0::Float)) . fmap fromIntegral)
|
||||
|
||||
Reference in New Issue
Block a user