Cleanup inventory management, tweak dragging start
This commit is contained in:
@@ -352,7 +352,6 @@ pushYouOutFromWalls u
|
||||
muzzleWallCheck :: World -> Creature -> Creature
|
||||
muzzleWallCheck w cr = fromMaybe cr $ do
|
||||
invid <- w ^? hud . manObject . hiRootSelectedItem . unNInt
|
||||
--revise1 invid <- cr ^? crManipulation . manObject . imRootSelectedItem . unNInt
|
||||
loc <-
|
||||
invIndents ((\k -> w ^?! cWorld . lWorld . items . ix k) <$> _crInv cr)
|
||||
^? ix invid . _2
|
||||
|
||||
Reference in New Issue
Block a user