small monsters seeping through their shirt

The code is slightly different than in the PR which left out the noncorporeal case.

Closes #397
This commit is contained in:
nhmall
2020-10-07 09:09:51 -04:00
parent eb4288e608
commit b0e71f68bc
2 changed files with 3 additions and 1 deletions

View File

@@ -270,6 +270,7 @@ make piranhas faster and give them extra bite attack
fire sources can ignite candles, lamps, and potions of oil
for multiple drop ('D') with menustyle traditional or combination, if the only
object class player picked was '$' then it operated on all classes
small monsters could seep through their shirt
Fixes to 3.7.0-x Problems that Were Exposed Via git Repository

View File

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