summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharles Otto <ottochar@gmail.com>2009-11-15 12:51:57 -0500
committerCharles Otto <ottochar@gmail.com>2009-11-15 23:46:44 -0500
commit01e5123d492ba9292a52960031c18d8069d25d83 (patch)
treebec223b647cd61b0b6ada4758af63e54b3df910c
parent753f2ca4d4ab46449aba87ea7f532c437e59f37d (diff)
downloadcrawl-ref-01e5123d492ba9292a52960031c18d8069d25d83.tar.gz
crawl-ref-01e5123d492ba9292a52960031c18d8069d25d83.zip
Use correct symbol in it_use2 (oops)
-rw-r--r--crawl-ref/source/it_use2.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/it_use2.cc b/crawl-ref/source/it_use2.cc
index 97089a9f85..547b418c3a 100644
--- a/crawl-ref/source/it_use2.cc
+++ b/crawl-ref/source/it_use2.cc
@@ -446,13 +446,13 @@ bool potion_effect(potion_type pot_eff, int pow, bool drank_it, bool was_known)
case POT_RESISTANCE:
mpr("You feel protected.", MSGCH_DURATION);
you.duration[DUR_RESIST_FIRE] +=
- (random2(pow) + 35) * BASELINE_DURATION / factor;
+ (random2(pow) + 35) * BASELINE_DELAY / factor;
you.duration[DUR_RESIST_COLD] +=
- (random2(pow) + 35) * BASELINE_DURATION / factor;
+ (random2(pow) + 35) * BASELINE_DELAY / factor;
you.duration[DUR_RESIST_POISON] +=
- (random2(pow) + 35) * BASELINE_DURATION / factor;
+ (random2(pow) + 35) * BASELINE_DELAY / factor;
you.duration[DUR_INSULATION] +=
- (random2(pow) + 35) * BASELINE_DURATION / factor;
+ (random2(pow) + 35) * BASELINE_DELAY/ factor;
// Just one point of contamination. These potions are really rare,
// and contamination is nastier.