summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/potion.cc
diff options
context:
space:
mode:
authorreaverb <reaverb.Crawl@gmail.com>2014-05-25 23:27:54 -0400
committerreaverb <reaverb.Crawl@gmail.com>2014-05-25 23:50:22 -0400
commit33abf97284f7ffd35d99379bc68d4260be3217dd (patch)
treeb7aa1a134b98e1d4a0c2439539a0cc56f089dd97 /crawl-ref/source/potion.cc
parent9b48444c62522562247531d8d9ba56e2784d3e93 (diff)
downloadcrawl-ref-33abf97284f7ffd35d99379bc68d4260be3217dd.tar.gz
crawl-ref-33abf97284f7ffd35d99379bc68d4260be3217dd.zip
A comment explaining why POT_SLOWING is still in potion_effect()
Diffstat (limited to 'crawl-ref/source/potion.cc')
-rw-r--r--crawl-ref/source/potion.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/potion.cc b/crawl-ref/source/potion.cc
index 0eb1e91691..6d03d8ede6 100644
--- a/crawl-ref/source/potion.cc
+++ b/crawl-ref/source/potion.cc
@@ -299,6 +299,8 @@ bool potion_effect(potion_type pot_eff, int pow, item_def *potion, bool was_know
}
break;
+ // Potions of slowing no longer exist, but tons of other effects use
+ // potion_effect(POT_SLOWING) so this code stays in.
case POT_SLOWING:
if (slow_player(10 + random2(pow)))
xom_is_stimulated(50 / xom_factor);