19 std::vector<path::step>::const_iterator
24 auto it = std::lower_bound(
33 step.is_final = false;
34 path_finder finder(unit, step);
35 return bool(finder.find_path(refuel_destination(*unit)));
std::vector< step > m_steps
std::vector< step >::const_iterator first_unsafe_step(unit *unit) const
Finds the first step in the path that is unsafe (if any).
#define fc_assert_ret_val(condition, val)