Fix equipment equipping/moving with right click
This commit is contained in:
@@ -91,7 +91,7 @@ drawRootCursor w sss msel ldp cfig = fromMaybe mempty $ do
|
||||
inv <- w ^? cWorld . lWorld . creatures . ix 0 . crInv
|
||||
(x,y) <- getRootItemBounds j inv
|
||||
return $ drawSSMultiCursor sss (Just (0,x)) (Just (y- x)) ldp
|
||||
(BoundaryCursor [minBound .. maxBound]) cfig
|
||||
(BoundaryCursor [minBound ..]) cfig
|
||||
|
||||
getRootItemBounds :: Int -> IM.IntMap Item -> Maybe (Int,Int)
|
||||
getRootItemBounds i inv = do
|
||||
|
||||
Reference in New Issue
Block a user