(getpath): Remove check for DIR_MAP.
DIR_MAP is not a value that can be entered by the user.
This commit is contained in:
parent
28eb5d28fa
commit
fa0b12e332
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue