summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-tornado.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-04-20 23:25:29 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-04-21 01:34:35 +0200
commitaaea51835ffddbd677776a59320d924921a6701b (patch)
tree6ef55b674dcc23fe93d52cd2974b463151b94453 /crawl-ref/source/spl-tornado.cc
parent888cf270cf25fc62bcecc24a2ac530fbb14f568d (diff)
downloadcrawl-ref-aaea51835ffddbd677776a59320d924921a6701b.tar.gz
crawl-ref-aaea51835ffddbd677776a59320d924921a6701b.zip
Mindexicide: behaviour_event().
This also reveals how bad the beam blaming code is, need to rewrite that soon -- mostly because of problems with reflection.
Diffstat (limited to 'crawl-ref/source/spl-tornado.cc')
-rw-r--r--crawl-ref/source/spl-tornado.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-tornado.cc b/crawl-ref/source/spl-tornado.cc
index 179fdee9e0..998930fa6a 100644
--- a/crawl-ref/source/spl-tornado.cc
+++ b/crawl-ref/source/spl-tornado.cc
@@ -326,7 +326,7 @@ void tornado_damage(actor *caster, int dur)
else
mon->add_ench(ench);
}
- behaviour_event(mon, ME_ANNOY, caster->mindex());
+ behaviour_event(mon, ME_ANNOY, caster);
}
else if (!leda)
{