Minor cockatrice fix
PS: Why do we have duplicate fixes__._ files in the branches, since by definition the same file would have to stay the same in any branch?
This commit is contained in:
@@ -413,6 +413,7 @@ character escape sequence handling during options processing was vulernable
|
||||
to malformed escapes and could potentially be abused to clobber the
|
||||
stack and launch a buffer overrun attack
|
||||
fix message typo, "you sold some items inside <container> for N gold piecess"
|
||||
fix bug preventing stone-resistant monsters w/o gloves from wielding cockatrices
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
@@ -400,6 +400,7 @@ autosearch finds and transforms secret doors and corridors even while blind,
|
||||
but it wasn't updating the map to show them unless the hero could see
|
||||
panic save made during magic mapping or <foo> detection performed while
|
||||
underwater could put hero on top of the water after restore
|
||||
fix bug preventing stone-resistant monsters w/o gloves from wielding cockatrices
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
@@ -542,7 +542,7 @@ register struct monst *mtmp;
|
||||
/* big weapon is basically the same as bimanual */
|
||||
/* all monsters can wield the remaining weapons */
|
||||
for (i = 0; i < SIZE(hwep); i++) {
|
||||
if (hwep[i] == CORPSE && !(mtmp->misc_worn_check & W_ARMG))
|
||||
if (hwep[i] == CORPSE && !(mtmp->misc_worn_check & W_ARMG) && !resists_ston(mtmp))
|
||||
continue;
|
||||
if (((strong && !wearing_shield)
|
||||
|| !objects[hwep[i]].oc_bimanual) &&
|
||||
|
||||
Reference in New Issue
Block a user