(getpath): Fix message when no path to destination sector can be

found.
This commit is contained in:
Markus Armbruster 2005-09-25 17:03:53 +00:00
parent 269913baee
commit 72c623ee92

View file

@ -137,7 +137,7 @@ getpath(char *buf, char *arg, coord x, coord y, int onlyown,
return buf; return buf;
} else { } else {
pr("Can't get to %s from here!\n", pr("Can't get to %s from here!\n",
xyas(nx, ny, player->cnum)); xyas(dx, dy, player->cnum));
*p = 0; *p = 0;
} }
break; break;