Cleanup, trying to diagnose space leak in crit update
This commit is contained in:
@@ -3,11 +3,10 @@ module Dodge.Creature.Update
|
||||
) where
|
||||
import Dodge.Data
|
||||
|
||||
import Data.Monoid
|
||||
|
||||
unrandUpdate
|
||||
:: (Creature -> World -> World)
|
||||
-> (Creature -> Maybe Creature)
|
||||
-> CRUpdate
|
||||
{-# INLINE unrandUpdate #-}
|
||||
unrandUpdate h cF cr _ = ( Endo (h cr) , cF cr )
|
||||
unrandUpdate h cF cr _ = ( (h cr) , cF cr )
|
||||
|
||||
Reference in New Issue
Block a user