Just pass a mfndposdata pointer to should_displace

This commit is contained in:
Pasi Kallinen
2026-01-04 16:34:28 +02:00
parent 37df18b59c
commit f2cd27551d
3 changed files with 8 additions and 8 deletions

View File

@@ -1070,7 +1070,7 @@ dog_move(
uncursedcnt++;
}
better_with_displacing = should_displace(mtmp, mfp,
better_with_displacing = should_displace(mtmp, &mfp,
gg.gx, gg.gy);
chcnt = 0;