fix #H7631 - wielding cursed weptool via 'apply'

Applying a non-wielded cursed pick-axe first wielded it, then dug,
but it didn't report "pick-axe is welded to your hand".  (Attempting
to drop it or wield something else did report that, after the fact.)
The same thing happened if you used a pole-arm rather than pick-axe.
This commit is contained in:
PatR
2018-11-29 03:49:16 -08:00
parent 99891455d3
commit c318841363
2 changed files with 10 additions and 3 deletions

View File

@@ -226,6 +226,8 @@ for configurations with 'long int' larger than 'int', lev_comp wrote some
garbage into the *.lev files, but nethack seemed unaffected by that
(at least on little-endian hardare) and loaded the levels successfully
stinking cloud placed near water could kill underwater creatures
applying--rather than wielding--a cursed polearm or weapon-tool didn't report
that it had become welded to hero's hand(s)
Fixes to Post-3.6.1 Problems that Were Exposed Via git Repository