CleverRaven / Cataclysm-DDA

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

Firing a gun reaims to the monster i indirectly killed instead of the nearest living monster #71893

Open gettingusedto opened 6 months ago

gettingusedto commented 6 months ago

Describe the bug

I noticed whenever i let a zed i shot to die by bleeding or otherwise indirectly kill(?) them, the (f)iring menu reaims to the corpse of said monster instead of aiming the nearest living monster.

Attach save file

N/A

Steps to reproduce

  1. Spawn in some zeds and a gun,
  2. Shoot a zed till it bleed and let it bleed to death,
  3. After it dies, (f)ire the gun and see it aims to the zed who died to bleeding out.

Expected behavior

Aiming the nearest living monster.

Screenshots

No response

Versions and configuration

Additional context

No response

RedMisao commented 6 months ago

Duplicate of #70742 ?

IdleSol commented 6 months ago

Confirmed

Duplicate of https://github.com/CleverRaven/Cataclysm-DDA/issues/70742 ?

I guess so. Tested it on version 2024-01-06-2229 If a monster dies from bleeding. The same error occurs as when dying from a rock.

And in version 2024-01-06-2115, everything is fine

github-actions[bot] commented 5 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not bump or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered.

harakka commented 4 months ago

/confirm

DragonWizard23 commented 4 months ago

I've had this issue too.