Use correct findtravelpath param value

This commit is contained in:
Pasi Kallinen
2022-03-31 17:50:00 +03:00
parent a230034af7
commit 476e47b2cd

View File

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