diff options
author | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-03 03:40:23 -0800 |
---|---|---|
committer | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-03 03:40:43 -0800 |
commit | bfe3354fb98fa4842bb50613e3c31e58a5b7d1f9 (patch) | |
tree | e6a63e0ab0094ee71919ac37840fdd66c44f903e | |
parent | f4f1ff8cbaaa06d58f7a509b5a74d7f847aa4d51 (diff) | |
download | crawl-ref-bfe3354fb98fa4842bb50613e3c31e58a5b7d1f9.tar.gz crawl-ref-bfe3354fb98fa4842bb50613e3c31e58a5b7d1f9.zip |
spells1.cc: fix Chain Lightning
-rw-r--r-- | crawl-ref/source/spells1.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc index 54bf45bd90..798b639003 100644 --- a/crawl-ref/source/spells1.cc +++ b/crawl-ref/source/spells1.cc @@ -402,7 +402,7 @@ void cast_chain_lightning(int pow) if (dist > min_dist) continue; - if (_lightning_los(source, monster->pos())) + if (!_lightning_los(source, monster->pos())) continue; count++; |