]> granicus.if.org Git - nethack/commit
'unbreak' wishing probabilities
authorPatR <rankin@nethack.org>
Sat, 22 Sep 2018 23:46:27 +0000 (16:46 -0700)
committerPatR <rankin@nethack.org>
Sat, 22 Sep 2018 23:46:27 +0000 (16:46 -0700)
commit18d56724f91f3014269cf8b20eae83b9726bb3d9
tree37b4c8e6e0c5a99bd3679764d08e92c6cf7f58ed
parent4f61e9697cc95ebc0d556c9de7747807574cb868
'unbreak' wishing probabilities

Fixing rnd_otyp_by_namedesc() for use by get_shiny() broke its use
by readobjnam().  Make the chance for 0% generation objects to have
non-zero chance of being selected be a parameter.
src/objnam.c