summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-03 21:22:08 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-03 21:22:08 +0000
commit6545de618669b67ea1053f6d49cd607053be5b12 (patch)
treeedd59e793a4cfcb9ac7110a98e87e2edd5ce303a /crawl-ref
parent3c509c1d18054fdbe16732a8c1e0b976a66ea01a (diff)
downloadcrawl-ref-6545de618669b67ea1053f6d49cd607053be5b12.tar.gz
crawl-ref-6545de618669b67ea1053f6d49cd607053be5b12.zip
When disturbing a monster because of BEAM_VISUAL, inform it of the beam's
source. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8179 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-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 8af120c8b2..44f20fd93b 100644
--- a/crawl-ref/source/beam.cc
+++ b/crawl-ref/source/beam.cc
@@ -4377,7 +4377,7 @@ void bolt::affect_monster(monsters* mon)
// Visual - wake monsters.
if (flavour == BEAM_VISUAL)
{
- behaviour_event( mon, ME_DISTURB );
+ behaviour_event( mon, ME_DISTURB, beam_source, source );
return;
}