summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/throw.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2014-02-09 17:39:19 +0000
committerChris Campbell <chriscampbell89@gmail.com>2014-02-09 19:37:44 +0000
commit2b0288b017874b531edc7170ef78c41c9fceec94 (patch)
tree2843344ad1094f8ee2b8289bfb07fcb89f902070 /crawl-ref/source/throw.cc
parent2294cc43dd8b4ea7e92c0ebc61ceb1f27b411394 (diff)
downloadcrawl-ref-2b0288b017874b531edc7170ef78c41c9fceec94.tar.gz
crawl-ref-2b0288b017874b531edc7170ef78c41c9fceec94.zip
Don't arc electricity when attacking with an elec weapon in water
The main thing it did was cause annoying prompts when you could hit yourself or an ally with the arc. It was rarely relevant other than that, and just made elec brand a bit more complicated unnecessarily.
Diffstat (limited to 'crawl-ref/source/throw.cc')
-rw-r--r--crawl-ref/source/throw.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/crawl-ref/source/throw.cc b/crawl-ref/source/throw.cc
index f5d3a1cb2e..01dc9634fc 100644
--- a/crawl-ref/source/throw.cc
+++ b/crawl-ref/source/throw.cc
@@ -775,9 +775,6 @@ static bool _charged_damages_victim(bolt &beam, actor* victim, int &dmg,
dmg_msg = "There is a sudden explosion of sparks!";
}
- if (feat_is_water(grd(victim->pos())))
- (new lightning_fineff(beam.agent(), victim->pos()))->schedule();
-
return false;
}