summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-goditem.cc
diff options
context:
space:
mode:
authorSage <SageBasilMint@gmail.com>2014-05-07 19:36:38 +0000
committerSage <SageBasilMint@gmail.com>2014-05-07 19:36:38 +0000
commitb511c52d2743219bc0dea53df000d83a14e5a7cd (patch)
tree59428f16300a27c29fec13f8f4d5996fa9481bc9 /crawl-ref/source/spl-goditem.cc
parent91e2ab7977f924848dda7a4ef300318f3c551c12 (diff)
downloadcrawl-ref-b511c52d2743219bc0dea53df000d83a14e5a7cd.tar.gz
crawl-ref-b511c52d2743219bc0dea53df000d83a14e5a7cd.zip
Remove unnecessary code.
Diffstat (limited to 'crawl-ref/source/spl-goditem.cc')
-rw-r--r--crawl-ref/source/spl-goditem.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/crawl-ref/source/spl-goditem.cc b/crawl-ref/source/spl-goditem.cc
index e7e0fed04b..249260fb04 100644
--- a/crawl-ref/source/spl-goditem.cc
+++ b/crawl-ref/source/spl-goditem.cc
@@ -333,8 +333,6 @@ int cast_healing(int pow, int max_pow, bool divine_ability,
{
pow = min(50, pow);
max_pow = min(50, max_pow);
- if (!not_self && !divine_ability && you.mutation[MUT_NO_DEVICE_HEAL])
- return 0;
return _healing_spell(pow + roll_dice(2, pow) - 2, (3 * max_pow) - 2,
divine_ability, where, not_self, mode);
}