(getpath): Remove check for DIR_MAP.

DIR_MAP is not a value that can be entered by the user.
This commit is contained in:
Ron Koenderink 2006-07-29 17:55:22 +00:00
parent 28eb5d28fa
commit fa0b12e332

View file

@ -151,7 +151,7 @@ getpath(char *buf, char *arg, coord x, coord y, int onlyown,
xyas(nx, ny, player->cnum));
break;
}
if (dir == DIR_STOP || dir == DIR_MAP) {
if (dir == DIR_STOP) {
p[1] = 0;
return buf;
}