]> granicus.if.org Git - nethack/commitdiff
fixes entry for pull request #683 - just picked
authorPatR <rankin@nethack.org>
Sun, 20 Feb 2022 22:46:59 +0000 (14:46 -0800)
committerPatR <rankin@nethack.org>
Sun, 20 Feb 2022 22:46:59 +0000 (14:46 -0800)
Pull request from argrath:  the code that decides whether to add 'B'
for blessed items, 'X' for unknown bless/curse state and so forth
when setting up prompting for the 'I' command was counting up the
recently introduced "just picked up" category using an uninitialized
variable.  So it might erroneously include 'P' as a choice when no
such items were present.

Closes #683

doc/fixes3-7-0.txt

index 35b33bd3288e8159530172e9eaf616f77002c721..f8657a8685c7863d96690f8bcbddc171d634a63b 100644 (file)
@@ -1040,6 +1040,9 @@ have com_pager() check for failed nhl_init(); probably can't actually happen
 rearranging first-kill and first-hit gamelog messages to get hit before kill
        ordering resulted in "hit with a wielded weapon for first time" being
        given twice if that hit was delivered via applied polearm
+counting "just picked up" items when deciding what pseudo-classes should be
+       included for the 'I' command's object class prompt was operating on
+       an uninitialized varaible
 
 curses: 'msg_window' option wasn't functional for curses unless the binary
        also included tty support