Merge branch 'fix-uhitm' of https://github.com/argrath/NetHack into NetHack-3.7

This commit is contained in:
nhmall
2023-12-11 11:29:34 -05:00

View File

@@ -1453,7 +1453,7 @@ hmon_hitmon_poison(
You_feel("like an evil coward for using a poisoned weapon.");
adjalign(-1);
}
if (obj && !rn2(nopoison)) {
if (!rn2(nopoison)) {
/* remove poison now in case obj ends up in a bones file */
obj->opoisoned = FALSE;
/* defer "obj is no longer poisoned" until after hit message */