Improve booster (graphics + bugfixes)
This commit is contained in:
@@ -119,10 +119,9 @@ movementSideEff cr w
|
||||
invSideEff :: Creature -> World -> World
|
||||
invSideEff cr w = weaponReloadSounds cr $ IM.foldrWithKey f w (_crInv cr)
|
||||
where
|
||||
f i it w' = case it ^? itEffect of
|
||||
f i it w' = case it ^? itEffect . itInvEffect of
|
||||
Nothing -> w'
|
||||
Just NoItEffect -> w'
|
||||
Just g -> dbArg _itInvEffect g cr i w'
|
||||
Just g -> g (_itEffect it) cr i w'
|
||||
|
||||
weaponReloadSounds :: Creature -> World -> World
|
||||
weaponReloadSounds cr w = case _crInv cr IM.!? _crInvSel cr of
|
||||
|
||||
Reference in New Issue
Block a user