Cleanup, trying to diagnose space leak in crit update

This commit is contained in:
2021-12-09 22:12:44 +00:00
parent bd94044445
commit 3c35a04531
23 changed files with 203 additions and 178 deletions
+1 -2
View File
@@ -2,7 +2,6 @@ module Dodge.Creature.AutoCrit
( autoCrit
) where
import Dodge.Data
import Dodge.RemoveCreatureEndo
import Dodge.Default
import Dodge.Creature.Picture
import Dodge.Creature.SentinelAI
@@ -22,7 +21,7 @@ import qualified Data.IntMap.Strict as IM
autoCrit :: Creature
autoCrit = defaultCreature
{ _crPict = basicCrPict red
, _crUpdate = toCrUpdate $ stateUpdate $ impulsiveAIR sentinelAI
, _crUpdate = stateUpdate $ impulsiveAIR sentinelAI
, _crActionPlan = ActionPlan
{ _crImpulse = []
, _crAction = []