CleverRaven / Cataclysm-DDA

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

Monster pathing machine broke again #75009

Open Venera3 opened 3 months ago

Venera3 commented 3 months ago

Describe the bug

Monsters with PATH_AVOID_DANGER and/or avoid_dangerous_fields: true pathfinding settings walk through dangerous fields.

Attach save file

Debug-trimmed.tar.gz

Steps to reproduce

  1. Place a few fire fields (which should mean ´PATH_AVOID_DANGER´ mobs avoid them) 1a. Load the appended save with a cute lil' monster gauntlet
  2. Place some mobs that should avoid fire
  3. Watch them not avoid it

Expected behavior

Monsters avoiding fire

Screenshots

image Migo going through fire without a care in the world (this is both with the flag and the bool) image Migo avoiding sharp wreckage (slightly different location since the cheeky bastard insisted on going around the gauntlet. image Migo avoiding traps like a boss

Versions and configuration

Windows, built with VS, commit 38b05c284dcc2446b282f1ee7d306ecbf99e03d4

Additional context

This is a reproduction of a report from Discord, hence me going mad with power and self-confirming it.

RedMisao commented 2 months ago

Duplicate of #73674 ?