]> git.pond.sub.org Git - empserver/commitdiff
(getpath): Fix message when no path to destination sector can be
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 25 Sep 2005 17:03:53 +0000 (17:03 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 25 Sep 2005 17:03:53 +0000 (17:03 +0000)
found.

src/lib/subs/paths.c

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