1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-08-05 12:15:26 +01:00

Fix sacrificing boon not buc-modifying unworn inventory items

This might end up being annoying for Vampires.
This commit is contained in:
NeroOneTrueKing 2020-08-11 23:30:11 -05:00
parent 886be85042
commit a4fcfdc942

View file

@ -4239,8 +4239,9 @@ aligntyp alignment;
else {
for(otmp=invent; otmp; otmp=otmp->nobj)
if (wrongbuc(otmp)) break;
return;
}
if (!otmp)
break; /* no item found */
if (hates_unholy(youracedata) && hates_holy(youracedata)){
uncurse(otmp);
unbless(otmp);