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

Creatures will walk into fire, if the tile is obstructed by smoke #77538

Open NetSysFire opened 1 week ago

NetSysFire commented 1 week ago

Describe the bug

See title.

Attach save file

n/a

Steps to reproduce

  1. Have a camp fire using a fire ring and some fuel.
  2. Light it. Spawn neutral animals around. Like those two painted turtles that died in my case.
  3. If there is smoke on that tile, they may walk right into the fire and burn to death.

Expected behavior

Creatures do not walk into smoke if there is no other alternative. Alternatively: Light smoke should not conceal the fire.

Screenshots

No response

Versions and configuration

Additional context

No response

mqrause commented 1 week ago

Duplicate of #60581, not sure if smoke is even relevant for that.

NetSysFire commented 1 week ago

This is not a tamed animal and so far it only appears to happen with smoke. So I do doubt this is a duplicate because the issue you linked looks to be about igniting the fire and some sort of race condition there, that allows pathing there while the igniting is not finished yet.

mqrause commented 1 week ago

See also #73674, but yes, I don't know enough about pathing to rule out these are two similar but distinct issues.