diff --git a/lib/CPathfinder.h b/lib/CPathfinder.h index c40dcce90..08fca8f97 100644 --- a/lib/CPathfinder.h +++ b/lib/CPathfinder.h @@ -177,7 +177,7 @@ private: { if(rhs->turns > lhs->turns) return false; - else if(rhs->turns == lhs->turns && rhs->moveRemains < lhs->moveRemains) + else if(rhs->turns == lhs->turns && rhs->moveRemains <= lhs->moveRemains) return false; return true;