]> granicus.if.org Git - nethack/commit
#fix #H2061 - ESC at music prompts (trunk only)
authornethack.rankin <nethack.rankin>
Thu, 17 Dec 2009 02:51:03 +0000 (02:51 +0000)
committernethack.rankin <nethack.rankin>
Thu, 17 Dec 2009 02:51:03 +0000 (02:51 +0000)
commit81e1ca40f1f9de51a3bc211b2884b50f3c681845
tree5653a7811c11371129d921c05f30e8f6712813cc
parent9269642f2a3957d5759e30352bb8eb44a081cde2
#fix #H2061 - ESC at music prompts (trunk only)

     From a bug report, attempting to respond with ESC when playing an instrument
just continued with the playing sequence.  This adds a q choice to the
"Improvise? [yn]" and "Play passtune? [yn]" prompts, and also checks
for ESC as the 5-note tune when not improvising, yielding "Never mind"
and not using up a turn if the player opts not to play any music.

     I put the fixes entry in the new features section since the old
behavior wasn't much of a bug.
doc/fixes35.0
src/music.c