diff options
author | Steve Melenchuk <smelenchuk@gmail.com> | 2014-01-03 22:58:54 -0700 |
---|---|---|
committer | Steve Melenchuk <smelenchuk@gmail.com> | 2014-02-10 18:59:00 -0700 |
commit | ba0e3a01b74c7d78d5ae0dd11232dff3fa0e1bb4 (patch) | |
tree | 10eee12de736232a3ab07fd4a8648994def8e4dc /crawl-ref/source/spl-miscast.cc | |
parent | d136198950e1be072b51b48b3c3a056b1285722c (diff) | |
download | crawl-ref-ba0e3a01b74c7d78d5ae0dd11232dff3fa0e1bb4.tar.gz crawl-ref-ba0e3a01b74c7d78d5ae0dd11232dff3fa0e1bb4.zip |
Accept MHITYOU as a miscast source.
This is so that miscasts caused by the player (Spellbinder) that kill
the monster get attributed correctly to the player.
Diffstat (limited to 'crawl-ref/source/spl-miscast.cc')
-rw-r--r-- | crawl-ref/source/spl-miscast.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-miscast.cc b/crawl-ref/source/spl-miscast.cc index 8b49d8cde2..310ff3a114 100644 --- a/crawl-ref/source/spl-miscast.cc +++ b/crawl-ref/source/spl-miscast.cc @@ -153,7 +153,7 @@ void MiscastEffect::init() kill_source = NON_MONSTER; } - if (kill_source == NON_MONSTER) + if (kill_source == NON_MONSTER || kill_source == MHITYOU) { kc = KC_YOU; kt = KILL_YOU_MISSILE; |