devilutionX
devilutionX copied to clipboard
Extract logic from CheckInvCut/AutoPlaceItemInInventory
Cleanups that I found useful when prepping for in-place swapping.
This shouldn't change any behaviour but I haven't tested further than making sure shift-clicking equipped items still worked.