A constant compass direction does not give the shortest route
A ship that keeps exactly the same compass direction does not usually take the shortest path across Earth. Its route curves around the globe while crossing every north–south line at the same angle. This path is called a loxodrome.