Remove duplicated selection/manipulation positions
Needs more testing to make sure it all works properly
This commit is contained in:
+1
-1
@@ -350,7 +350,7 @@ pushYouOutFromWalls u
|
||||
-- rotate creature as well? behaviour on ledges?
|
||||
muzzleWallCheck :: World -> Creature -> Creature
|
||||
muzzleWallCheck w cr = fromMaybe cr $ do
|
||||
invid <- w ^? hud . manObject . imRootSelectedItem . unNInt
|
||||
invid <- w ^? hud . manObject . hiRootSelectedItem . unNInt
|
||||
--revise1 invid <- cr ^? crManipulation . manObject . imRootSelectedItem . unNInt
|
||||
loc <-
|
||||
invIndents ((\k -> w ^?! cWorld . lWorld . items . ix k) <$> _crInv cr)
|
||||
|
||||
Reference in New Issue
Block a user