Well, no response so far :) It seems that findpath really does not consider immovables (roads + flags) - for it the field is passable and that is all that is checked.
Can we consider adding another check and another argument to function findpath() like "no immovables", and fields with any immovables would be ingored? Regards ---------- Forwarded message ---------- From: Tibor Bamhor <[email protected]> Date: 2014-09-17 15:31 GMT+02:00 Subject: path & findpath question To: [email protected] Hi, When testing road building in AI I found that findpath sometimes returns nonsensical paths. It claims that it found paths between two points (a have them printed out), but when I look at the points on map, they are not connectable without crossing/using another road. Subsequently AI runs send_player_build_road() and it fails. Is it feature or a bug? Or am I overlooking something? Tibor
_______________________________________________ Mailing list: https://launchpad.net/~widelands-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~widelands-dev More help : https://help.launchpad.net/ListHelp

