Cleanup warnings
This commit is contained in:
@@ -8,7 +8,7 @@ import Data.Maybe
|
||||
|
||||
retreatPointForFrom
|
||||
:: Float -> World -> Creature -> Point2 -> Maybe Point2
|
||||
retreatPointForFrom d w cr p
|
||||
retreatPointForFrom d _ cr p
|
||||
= listToMaybe
|
||||
. sortOn (dist cpos)
|
||||
$ divideCircle 10 p d
|
||||
|
||||
Reference in New Issue
Block a user