check_leash's handling of 2nd leash

Noticed by code inspection:  the inventory scan to find leashes
in use didn't reset the monster traversal loop for each leash, so
with more than one active it wouldn't necessarily find and check the
monster attached to the second one.
This commit is contained in:
nethack.rankin
2002-09-24 02:11:10 +00:00
parent 183e450b1b
commit b0f2478b51
2 changed files with 35 additions and 34 deletions
+1
View File
@@ -254,6 +254,7 @@ show correct gender in ^X display when polymorphed into non-humanoid form
for wizard and explore modes, skip second screen of ^X output when first
screen is cancelled by ESC
polyself into minotaur causes hard headgear to fall off
with multiple leashes in use, 2nd had 50/50 chance of having unbounded length
Platform- and/or Interface-Specific Fixes