Define engulfing_u, making clearer code

This commit is contained in:
Pasi Kallinen
2021-12-31 21:12:12 +02:00
parent 776064933a
commit 8db18275a6
16 changed files with 37 additions and 36 deletions

View File

@@ -924,7 +924,7 @@ dokick(void)
to an unseen square doesn't leave an I behind */
&& mtmp->mx == x && mtmp->my == y
&& !glyph_is_invisible(glyph)
&& !(u.uswallow && mtmp == u.ustuck)) {
&& !engulfing_u(mtmp)) {
map_invisible(x, y);
}
/* recoil if floating */