remove prescient travel command behavior followup

- applied an intermediate version of the fix which had a bug in choosing
the intermediate location
This commit is contained in:
cohrs
2002-04-13 16:27:58 +00:00
parent 1b321e92bc
commit 9174a9030a

View File

@@ -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;
}
}