Units of Orange ignore own locked doors
See image:
All the units of player5, which has been configured in the level script as roaming, will try to walk through their own locked door. White creatures in the same situation do not.
To reproduce, load the testmap and frameskip for a short time: map09999.zip
ah black, It might be to do with the navColour not supporting purple/black/orange, unrelated to roaming
ah black, It might be to do with the navColour not supporting purple/black/orange, unrelated to roaming
I can confirm it works correctly if player2 is set to roaming. I get it to work correctly if I set 'players_are_mutual_allies' to always return true, but that indeed may only be the case because that would mess with get_navigation_colour_for_door.
#3390 fixed it for Purple and Black, but Orange is still broken.
Changing the short to long that is needed to fix Orange pathfinding too, will stop regular pathfinding from working. A test for that is to start level 17 (probably any other level works too) and dig towards the portal, and notice all imps fail to find the wall to dig.
Issue is because creature_can_navigate_to_with_storage returns 'false'. I believe it is a sub of ma_triangle_route going wrong.