renew prayer for 'r' and cancel prompt for anything else.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2557 c06c8d41-db1a-0410-9941-cceddc491573
LC2F4F2GVJLI4BJX324IDEHSPMDXPCD4X7APHQC63D7F6UWK5MKAC
NUYXKJP5YXHRDUQW5QW7UC3D5U3VPANIOZAOHFCPWMSRYGMA3GCAC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
if ( yesno("Do you want to stop praying?", true, 'y') )
mpr("Stop praying? ('y' ends prayer, 'r' will renew prayer)", MSGCH_PROMPT); int tmp = get_ch(); if ( tmp == 'y' || tmp == 'Y')
mpr("Stop praying? ('y' ends prayer, 'r' will renew prayer)", MSGCH_PROMPT);
int tmp = get_ch();
if ( tmp == 'y' || tmp == 'Y')
} if ( tmp != 'r' && tmp != 'R') { mesclr(); return;
}
if ( tmp != 'r' && tmp != 'R')
{
mesclr();
return;