CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.65k stars 4.18k forks source link

[Xedra Evolved] Blocky pistol segmentation fault #77809

Open Sofistico opened 2 days ago

Sofistico commented 2 days ago

Describe the bug

When i empty a magazine of the blocky pistol and try to go to the wield item menu, the game crashes.

Attach save file

Anandale-trimmed.tar.gz

Steps to reproduce

  1. With the gun wielded, fire all ammo on the approaching zombies
  2. After gun is empty, go to the wield item menu
  3. Note the crash

Expected behavior

No crash and able to unwield or wield any other item

Screenshots

No response

Versions and configuration

Additional context

debug.log crash.log

Sofistico commented 2 days ago

Weirdly, it only happens when all ammo is shot rather than say being unloaded from the gun