summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-20 21:40:08 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-20 21:40:08 +0000
commitbe9f773b92d011e6cb8a1bdfa72ae323807b8468 (patch)
tree53ed40f27f2e4ddbb6ea3457af9439c4b51d6c80 /crawl-ref/source/effects.cc
parentb632d87fcd548863d67ce4ac10d50e2ea08384ff (diff)
downloadcrawl-ref-be9f773b92d011e6cb8a1bdfa72ae323807b8468.tar.gz
crawl-ref-be9f773b92d011e6cb8a1bdfa72ae323807b8468.zip
Avoid cluttering the recovery channel when restoring stats.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4419 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r--crawl-ref/source/effects.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index f39421dc0b..b8cd4e72b5 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -2378,13 +2378,13 @@ void handle_time( long time_delta )
if (!you.disease)
{
if (you.strength < you.max_strength && one_chance_in(100))
- restore_stat(STAT_STRENGTH, 0, false);
+ restore_stat(STAT_STRENGTH, 0, false, true);
if (you.intel < you.max_intel && one_chance_in(100))
- restore_stat(STAT_INTELLIGENCE, 0, false);
+ restore_stat(STAT_INTELLIGENCE, 0, false, true);
if (you.dex < you.max_dex && one_chance_in(100))
- restore_stat(STAT_DEXTERITY, 0, false);
+ restore_stat(STAT_DEXTERITY, 0, false, true);
}
else
{