summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-cast.cc
diff options
context:
space:
mode:
authorgammafunk <gammafunk@gmail.com>2014-03-05 22:39:13 -0600
committergammafunk <gammafunk@gmail.com>2014-03-06 11:47:33 -0600
commit2f0dee958f5c89741639812ce72daf06e96ad4f0 (patch)
tree7a16e63e5661598b38c2a2bb7f1858dadffca19b /crawl-ref/source/spl-cast.cc
parent5a102a04c5b39f33ebbe846f20f302ec80e34798 (diff)
downloadcrawl-ref-2f0dee958f5c89741639812ce72daf06e96ad4f0.tar.gz
crawl-ref-2f0dee958f5c89741639812ce72daf06e96ad4f0.zip
Allow ghost casting of dazzling spray (Grunt).
Player ghosts can now have dazzling spray, which sets confusion based on an XL check that's the same as used when blinding monsters. This commit is mostly based on Grunt's commit 0d12a004 in the glaciate-testing branch and cleaned up some for trunk, with some aspects reorganized.
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r--crawl-ref/source/spl-cast.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc
index 889790f340..3678623241 100644
--- a/crawl-ref/source/spl-cast.cc
+++ b/crawl-ref/source/spl-cast.cc
@@ -1562,7 +1562,7 @@ static spret_type _do_cast(spell_type spell, int powc,
return cast_thunderbolt(&you, powc, target, fail);
case SPELL_DAZZLING_SPRAY:
- return cast_dazzling_spray(&you, powc, target, fail);
+ return cast_dazzling_spray(powc, target, fail);
case SPELL_CHAIN_OF_CHAOS:
return cast_chain_spell(SPELL_CHAIN_OF_CHAOS, powc, &you, fail);