cataclysmbnteam / Cataclysm-BN

Cataclysm: Bright Nights, A fork/variant of Cataclysm:DDA by CleverRaven.
https://docs.cataclysmbn.org
Other
662 stars 260 forks source link

item_location lost its target during save/load cycle when dropping clothes #1548

Open SoggyLemon opened 2 years ago

SoggyLemon commented 2 years ago

Describe the bug

game crashes when i drop too much clothes on one tile

Steps To Reproduce

drop a lot of clothing on one tile

Expected behavior

for it not to crash

Screenshots

Screenshot_2022-05-15-22-49-17

Versions and configuration

Additional context

the crash only happens once per character, as when i went back to the world and re did it, it didnt give me a crash. Also i did this with the clothes i wore, not just in my inventory.

olanti-p commented 2 years ago

Might be a case of #1140, though it's hard to say for sure without a save