Remove functions from left use item use field
This commit is contained in:
@@ -3,6 +3,7 @@ module Dodge.Creature.Impulse.UseItem
|
||||
, useLeftItem
|
||||
) where
|
||||
import Dodge.Data
|
||||
import Dodge.Luse
|
||||
import Dodge.Inventory
|
||||
import Dodge.Reloading
|
||||
import Dodge.Item.Location
|
||||
@@ -104,7 +105,7 @@ useLeftItem cid w
|
||||
f <- cr ^? crInv . ix invid . itUse . lUse
|
||||
return
|
||||
. (runIdentity . pointToItem (_itPos itm) (return . (itUse . useHammer .~ HammerDown)))
|
||||
. f itm cr
|
||||
. useL f itm cr
|
||||
$ w
|
||||
where
|
||||
cr = _creatures w IM.! cid
|
||||
|
||||
Reference in New Issue
Block a user