shk.c and priest.c vs 'onefile'

This commit is contained in:
PatR
2024-06-28 08:31:49 -07:00
parent 2674a9904d
commit 17e0385f0e
2 changed files with 18 additions and 0 deletions

View File

@@ -91,6 +91,7 @@ move_special(struct monst *mtmp, boolean in_his_shop, schar appr,
}
}
}
#undef GDIST
if (mtmp->ispriest && avoid && nix == omx && niy == omy
&& onlineu(omx, omy)) {
/* might as well move closer as long it's going to stay
@@ -901,4 +902,7 @@ restpriest(struct monst *mtmp, boolean ghostly)
}
}
#undef ALGN_SINNED
#undef ALGN_PIOUS
/*priest.c*/