git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@456 c06c8d41-db1a-0410-9941-cceddc491573
XG5QUFMF3GLUAAVS4RJXQTOG3HWTISPKBXFPBUKO63F7SI4SE6XAC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
{
restore_stat( STAT_ALL, false );
bool did_restore = restore_stat( STAT_ALL, false ); const int oldhpmax = you.hp_max;
bool did_restore = restore_stat( STAT_ALL, false );
const int oldhpmax = you.hp_max;
if (you.hp_max > oldhpmax) did_restore = true; // If nothing happened, don't take one max MP, don't use a turn. if (!did_restore) { canned_msg(MSG_NOTHING_HAPPENS); return (false); }
if (you.hp_max > oldhpmax)
did_restore = true;
// If nothing happened, don't take one max MP, don't use a turn.
if (!did_restore)
canned_msg(MSG_NOTHING_HAPPENS);
return (false);
}