Fix worldEvent reset space leak
This commit is contained in:
+2
-2
@@ -72,7 +72,7 @@ data World = World
|
||||
, _mousePos :: !Point2
|
||||
, _testString :: String
|
||||
, _yourID :: !Int
|
||||
, _worldEvents :: !(World -> World)
|
||||
, _worldEvents :: (World -> World)
|
||||
, _pressPlates :: IM.IntMap PressPlate
|
||||
, _buttons :: IM.IntMap Button
|
||||
, _soundQueue :: [(Int,Int16)]
|
||||
@@ -174,7 +174,7 @@ data Creature = Creature
|
||||
, _crApplyDamage :: [DamageType] -> Creature -> (World -> World,Creature)
|
||||
, _crStance :: Stance
|
||||
, _crActionPlan :: ActionPlan
|
||||
, _crMeleeCooldown :: Maybe Int
|
||||
, _crMeleeCooldown :: !Int
|
||||
, _crAwakeLevel :: AwakeLevel
|
||||
, _crAttentionDir :: AttentionDir
|
||||
, _crAwarenessLevel :: IM.IntMap AwarenessLevel
|
||||
|
||||
Reference in New Issue
Block a user