summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.cc
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-08-02 04:30:31 -0400
committerJesse Luehrs <doy@tozt.net>2014-08-02 04:30:31 -0400
commit65b51e361dd4766a477fba1e62bd380e5f772e67 (patch)
tree34c162e63847d6e392fcc4765c592140d2e6a94f /crawl-ref/source/beam.cc
parent73be12ef33867c53ad9a947d256935b639ff4dcc (diff)
downloadcrawl-ref-65b51e361dd4766a477fba1e62bd380e5f772e67.tar.gz
crawl-ref-65b51e361dd4766a477fba1e62bd380e5f772e67.zip
xom shouldn't be interested in accidentally helping out plants
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r--crawl-ref/source/beam.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc
index e808df960f..e4c394b4a9 100644
--- a/crawl-ref/source/beam.cc
+++ b/crawl-ref/source/beam.cc
@@ -4187,7 +4187,7 @@ void bolt::update_hurt_or_helped(monster* mon)
{
foe_info.helped++;
// Accidentally helped a foe.
- if (!is_tracer && !effect_known)
+ if (!is_tracer && !effect_known && !mons_is_firewood(mon))
{
const int interest =
(flavour == BEAM_INVISIBILITY && can_see_invis) ? 25 : 100;