]> granicus.if.org Git - nethack/commit
shopkeeper names when hallucinating (trunk only)
authornethack.rankin <nethack.rankin>
Thu, 15 Dec 2005 05:33:15 +0000 (05:33 +0000)
committernethack.rankin <nethack.rankin>
Thu, 15 Dec 2005 05:33:15 +0000 (05:33 +0000)
commit44b9e2539710ab16aa046e626471d510b7d530b7
treeeb3cbff64b18291f5f319e877d5bedf83b4bf2de
parentea13ecbe29896e60c90ad064d3523c58109e1299
shopkeeper names when hallucinating (trunk only)

     A bug report complained that Izchak is identifiable when the hero is
hallucinating.  That's true but it wasn't particular to him; all shop
transactions were giving accurate shk name regardless of hallucination.
This is a quick fix that avoids changing shk message handling:  pick some
shk name at random each time one is used.  I didn't intend for it to also
force Izchak to use the general chat response instead of his set of special
messages, but that ends up happening due to randomized name not matching
his, so you really can't recognize him when hallucinating anymore.

     The almost never seen names now have a chance to come into play....
doc/fixes35.0
src/shknam.c