Gun, your suggestion about NearFlag constructor is failing with:
no matching function for call to ‘Widelands::NearFlag::NearFlag(std::nullptr_t, int)’ Also in regard to (;;) I changed a comment few lines bellow it to be obvious where the looping ends: "OK, so no NearFlag left to be checked - quitting the loop now" Is it enough? -- https://code.launchpad.net/~widelands-dev/widelands/findpath_modification/+merge/337103 Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/findpath_modification. _______________________________________________ Mailing list: https://launchpad.net/~widelands-dev Post to : widelands-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~widelands-dev More help : https://help.launchpad.net/ListHelp