Some github feedback pointed out that getting annotation input from the player behaved differently from similar input for naming of monsters and objects. The complaint stated that hitting <return> without supplying any input removed the old annotation, where other naming would leave the old name intact. 3.6.0 did misbehave that way; current code does too if EDIT_GETLIN is disabled but behaves as desired when it's enabled. (There's nothing that I can spot in donamelevel() to explain why. I'm confused. Is tty_getlin() returning the default answer instead of empty if that default text is deleted at the prompt and no new text entered prior to <return>?) Make donamelevel() work like mon/obj naming. Empty input leaves existing annotation, if any, intact.
54 KiB
54 KiB