From 9174a9030a23eb78ecc34e3da8ab955302a156ac Mon Sep 17 00:00:00 2001 From: cohrs Date: Sat, 13 Apr 2002 16:27:58 +0000 Subject: [PATCH] remove prescient travel command behavior followup - applied an intermediate version of the fix which had a bug in choosing the intermediate location --- src/hack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hack.c b/src/hack.c index 7a579f386..10984fe50 100644 --- a/src/hack.c +++ b/src/hack.c @@ -772,7 +772,7 @@ boolean guess; for (ty = 0; ty < ROWNO; ++ty) if (travel[tx][ty]) { d = distmin(ux, uy, tx, ty); - if (d < dist && couldsee(ux, uy)) { + if (d < dist && couldsee(tx, ty)) { px = tx; py = ty; dist = d; } } -- 2.40.0