follow-up to previous

This commit is contained in:
nhmall
2020-10-07 09:23:41 -04:00
parent b0e71f68bc
commit 1b0a9f8e31
+4 -2
View File
@@ -892,6 +892,9 @@ boolean polyspot;
m_useup(mon, otmp); m_useup(mon, otmp);
} }
} else if (sliparm(mdat)) { } 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 ((otmp = which_armor(mon, W_ARM)) != 0) {
if (vis) if (vis)
pline("%s armor falls around %s!", s_suffix(Monnam(mon)), 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 ((otmp = which_armor(mon, W_ARMU)) != 0) {
if (vis) { if (vis) {
/* sliparm checks whirly, noncorporeal, and small or under */ if (passes_thru_clothes)
if (sliparm(mdat) && !(mdat->msize <= MZ_SMALL))
pline("%s seeps right through %s shirt!", Monnam(mon), pline("%s seeps right through %s shirt!", Monnam(mon),
ppronoun); ppronoun);
else else