Make use hammers and item positions slightly more logical

This commit is contained in:
2022-07-07 08:27:56 +01:00
parent c2e7fcc897
commit 3759434d92
16 changed files with 48 additions and 48 deletions
+3 -3
View File
@@ -29,9 +29,9 @@ pictureWeaponAim
-> Creature
-> Item
-> SPic
pictureWeaponAim f cr itm = case _itInvPos itm of
Just i -> pictureWeaponOnAimItem (f itm) cr i
Nothing -> mempty
pictureWeaponAim f cr itm = case _itPos itm of
InInv _ i -> pictureWeaponOnAimItem (f itm) cr i
_ -> mempty
{- | Places an item picture onto a creature when the item is selected. -}
pictureWeaponOnAimItem