diff --git a/include/path.h b/include/path.h index 433523bc..0ef6e364 100644 --- a/include/path.h +++ b/include/path.h @@ -53,7 +53,6 @@ enum p_mode { /* How to find path to destination */ P_NONE, /* don't */ - P_WALKING, /* use BestLandPath() */ P_FLYING, /* use BestAirPath() */ P_SAILING /* use BestShipPath() */ }; diff --git a/src/lib/subs/paths.c b/src/lib/subs/paths.c index 0c5a7f37..1f871f84 100644 --- a/src/lib/subs/paths.c +++ b/src/lib/subs/paths.c @@ -123,11 +123,6 @@ getpath(char *buf, char *arg, coord x, coord y, int onlyown, case P_NONE: pr("Destination sectors not allowed here!\n"); break; - case P_WALKING: - if (getsect(dx, dy, &dsect)) - bp = BestLandPath(buf2, §, &dsect, - &mv_cost, MOB_ROAD); - break; case P_FLYING: bp = BestAirPath(buf2, nx, ny, dx, dy); break;