From 476e47b2cd3f0cb71ebdb3bbd5c70e069f673c2b Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Thu, 31 Mar 2022 17:50:00 +0300 Subject: [PATCH] Use correct findtravelpath param value --- src/hack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hack.c b/src/hack.c index 1864906fd..4096bc71b 100644 --- a/src/hack.c +++ b/src/hack.c @@ -2196,8 +2196,8 @@ domove_core(void) displaceu = FALSE; /* involuntary swap */ if (g.context.travel) { - if (!findtravelpath(FALSE)) - (void) findtravelpath(TRUE); + if (!findtravelpath(TRAVP_TRAVEL)) + (void) findtravelpath(TRAVP_GUESS); g.context.travel1 = 0; }