From a bug report: The following steps do not yield the expected fruit: 1) start nethack in explore mode (with a wand of wishing) 2) change fruit name to "tomato" 3) save/restore 4) change fruit name back to "slime mold" 5) save/restore 6) wish for a fruit; you get a tomato 7) check options; fruit name is set to "slime mold" If you specified a fruit name that already existed in the list, fruitadd() always set current_fruit to the fruit with the highest fid encountered in the list to that point, instead of the fid of the matching entry.
26 KiB
26 KiB