Cataclysm-dda: Advanced inventory moves wrong items (bones)

Created on 2 Feb 2019  路  4Comments  路  Source: CleverRaven/Cataclysm-DDA

Describe the bug
Advanced inventory moves items not from pile that was selected.

To Reproduce

  1. Have different types of bones on the same tile with some other items. Wish for 10 bones. Spawn a beaver. Kill the beaver and butcher it. Put wished-for bones in the same tile as beaver bones. I have three types of bones: one from underbrushes, one from butchered beaver, one form butchered pit bull mix.
  2. Try moving one bone from each group or some other items from the save tile into your inventory.
  3. When selecting bones only one group is moved, additionally sometimes bones from this group is moved when some other item is selected for moving.

Versions and configuration:

  • OS: Ubuntu 19.04
  • Game Version: latest master, 37a8bcd
  • Graphics version: Tiles

Additional context
If this will not be confirmed in several hours I'll try to produce a minimal savegame for reproduction.

<Bug> Inventory / AIM / Zones

Most helpful comment

Well, I can tell you what happened, this comment lied to me. The fix isn't very straightforward unfortunately, so it might take a minute.

All 4 comments

Any pile with charges will also get you a wrong item in the inventory.

Confirmed, working on a fix now.

Well, I can tell you what happened, this comment lied to me. The fix isn't very straightforward unfortunately, so it might take a minute.

Fixed by #28028

Was this page helpful?
0 / 5 - 0 ratings