summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/potion.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-11-27 16:11:13 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-11-27 23:35:19 +0100
commit1a54a13a9f82ed3b502d12c50809b02f71c2758d (patch)
tree3c1df23c394ef8dc8032ef4ab8b58ab81a0ebc08 /crawl-ref/source/potion.h
parent3f9f1092ff86ddf0e1116b29848e6827c111ca71 (diff)
downloadcrawl-ref-1a54a13a9f82ed3b502d12c50809b02f71c2758d.tar.gz
crawl-ref-1a54a13a9f82ed3b502d12c50809b02f71c2758d.zip
Simplify potion quaff-id.
Diffstat (limited to 'crawl-ref/source/potion.h')
-rw-r--r--crawl-ref/source/potion.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/potion.h b/crawl-ref/source/potion.h
index a9b76a8530..046ca8d488 100644
--- a/crawl-ref/source/potion.h
+++ b/crawl-ref/source/potion.h
@@ -11,8 +11,8 @@
// drank_it should be true for real potion effects (as opposed
// to abilities which duplicate such effects.)
-bool potion_effect(potion_type pot_eff, int pow,
- bool drank_it = false, bool was_known = true,
+void potion_effect(potion_type pot_eff, int pow,
+ item_def *potion = nullptr, bool was_known = true,
bool from_fountain = false);
#endif