summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-damage.h
diff options
context:
space:
mode:
authorJohanna Ploog <j-p-e-g@users.sourceforge.net>2011-03-14 15:35:26 +0100
committerJohanna Ploog <j-p-e-g@users.sourceforge.net>2011-03-14 15:51:35 +0100
commit2b7bdc810b5ce8410e015e3e336c6590c067757a (patch)
tree361e4d8c95a9eed208eeeedf74701c8b5d8985e2 /crawl-ref/source/spl-damage.h
parent6cbdb5a659a1f960a71b40b6d54e536203afd20c (diff)
downloadcrawl-ref-2b7bdc810b5ce8410e015e3e336c6590c067757a.tar.gz
crawl-ref-2b7bdc810b5ce8410e015e3e336c6590c067757a.zip
Don't let the vorpalise weapon effect destroy potions or scrolls.
We've specifically added code to avoid the hassle of having to drop scrolls before reading, and there's no sense to reintroduce it through the back door, in particular since ?VW is a scroll you read out of combat, making preparation trivial yet cumbersome.
Diffstat (limited to 'crawl-ref/source/spl-damage.h')
-rw-r--r--crawl-ref/source/spl-damage.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-damage.h b/crawl-ref/source/spl-damage.h
index bae8834960..0484ba7112 100644
--- a/crawl-ref/source/spl-damage.h
+++ b/crawl-ref/source/spl-damage.h
@@ -13,7 +13,8 @@ bool cast_hellfire_burst(int pow, bolt &beam);
void cast_chain_lightning(int pow, const actor *caster);
void cast_toxic_radiance(bool non_player = false);
-void cast_refrigeration(int pow, bool non_player = false);
+void cast_refrigeration(int pow, bool non_player = false,
+ bool freeze_potions = true);
bool vampiric_drain(int pow, monster* mons);
bool cast_freeze(int pow, monster* mons);