fixed UnorderedTask::ScanDistanceRemaining(const GeoPoint &location) { TaskPoint *tp = GetActiveTaskPoint(); if (tp == nullptr || !location.IsValid()) return fixed(0); return tp->Distance(location); }
fixed UnorderedTask::ScanDistanceRemaining(const GeoPoint &location) { TaskPoint *tp = GetActiveTaskPoint(); if (!tp) { return fixed_zero; } return tp->Distance(location); }