]> granicus.if.org Git - nethack/commit
fix #H4144 - rejecting named monster's own name
authorPatR <rankin@nethack.org>
Sat, 26 Dec 2015 07:36:44 +0000 (23:36 -0800)
committerPatR <rankin@nethack.org>
Sat, 26 Dec 2015 07:36:44 +0000 (23:36 -0800)
commite4294158325e4a6b76557137921c19d856fcba75
treec51f4dc8e61e4cce5cd0be1cb4304bd5c4b4dd9a
parenteea54fb77327bf497ae127d20e13415d8fcd4e85
fix #H4144 - rejecting named monster's own name

Some monsters can't be named, but if the user tried to assign them a
name that matched what they were already called, the rejection message
could be silly.  Reported case was "I'm Izchak, not Izchak!".  The fix
is more general than just for shopkeepers, although their reject
message was silliest when complaining about the name already in use.
For the cited case, feedback will now be 'He is already called Izchak.'
doc/fixes36.1
src/do_name.c