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.)
This commit is contained in:
nethack.rankin
2008-11-02 22:26:56 +00:00
parent bb5820b493
commit 83eb72c0fd
2 changed files with 19 additions and 9 deletions

View File

@@ -292,6 +292,7 @@ give "shuddering vibrations" feedback if breaking a poly wand uses up items
if polymorph causes a monster to drop items, they won't be used up via
shuddering vibrations or as golem creation fodder
monsters who ate green slime corpses weren't turned into green slime
"hand slip" while naming an object would never pick 'z' as a substitute letter
Platform- and/or Interface-Specific Fixes