(P_WALKING): Unused, remove.

(getpath): Remove P_WALKING case.
This commit is contained in:
Markus Armbruster 2006-06-04 16:42:36 +00:00
parent 44318648bf
commit 0ea38208d1
2 changed files with 0 additions and 6 deletions

View file

@ -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, &sect, &dsect,
&mv_cost, MOB_ROAD);
break;
case P_FLYING:
bp = BestAirPath(buf2, nx, ny, dx, dy);
break;