diff options
Diffstat (limited to 'crawl-ref/source/ouch.cc')
-rw-r--r-- | crawl-ref/source/ouch.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc index ebfb0d2b7a..a8759320ec 100644 --- a/crawl-ref/source/ouch.cc +++ b/crawl-ref/source/ouch.cc @@ -616,7 +616,7 @@ void lose_level() xom_is_stimulated(255); } // end lose_level() -void drain_exp(void) +void drain_exp(bool announce_full) { int protection = player_prot_life(); @@ -630,7 +630,8 @@ void drain_exp(void) if (protection >= 3 || you.is_undead) { - mpr("You fully resist."); + if ( announce_full ) + mpr("You fully resist."); return; } |