]> granicus.if.org Git - nethack/commit
hand slip when naming objects (trunk only)
authornethack.rankin <nethack.rankin>
Sun, 2 Nov 2008 22:26:56 +0000 (22:26 +0000)
committernethack.rankin <nethack.rankin>
Sun, 2 Nov 2008 22:26:56 +0000 (22:26 +0000)
commit83eb72c0fd0376c3af8a6829ca5f66ff5ed2814d
tree8fc3765b9c7732fb12b363f2c6310e0be38afb41
parentbb5820b493fd5899df32431fc02bb0d5c300cfcc
hand slip when naming objects (trunk only)

     From a bug report, the text change applied
when you try to give an artifact's name to am item of that artifact's type
would choose a letter from 'a' through 'y' when replacing the randomly
selected target letter.  Rather than fixing the off by one bug which
prevented 'z' from being chosen, this switches to the existing routine
used for mangling engravings.  (Unfortunately the fix is not as simple as
first expected, because wipeout_text() doesn't guarantee to change text
which has spaces in it and all the quest artifact names have those.)
doc/fixes35.0
src/do_name.c