follow-up to previous

This commit is contained in:
nhmall
2020-10-07 09:23:41 -04:00
parent b0e71f68bc
commit 1b0a9f8e31

View File

@@ -892,6 +892,9 @@ boolean polyspot;
m_useup(mon, otmp);
}
} else if (sliparm(mdat)) {
/* sliparm checks whirly, noncorporeal, and small or under */
boolean passes_thru_clothes = !(mdat->msize <= MZ_SMALL);
if ((otmp = which_armor(mon, W_ARM)) != 0) {
if (vis)
pline("%s armor falls around %s!", s_suffix(Monnam(mon)),
@@ -917,8 +920,7 @@ boolean polyspot;
}
if ((otmp = which_armor(mon, W_ARMU)) != 0) {
if (vis) {
/* sliparm checks whirly, noncorporeal, and small or under */
if (sliparm(mdat) && !(mdat->msize <= MZ_SMALL))
if (passes_thru_clothes)
pline("%s seeps right through %s shirt!", Monnam(mon),
ppronoun);
else