summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-cast.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-05-22 09:36:06 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-05-22 09:36:06 +0000
commitf7d3c6a24b8ce1913933d4d16b3232126be30e38 (patch)
tree1bf8286a9c9e81f566122179ea8266ba87083580 /crawl-ref/source/spl-cast.cc
parentfa105771ecd200166baa87881b5ca8f68ede9a58 (diff)
downloadcrawl-ref-f7d3c6a24b8ce1913933d4d16b3232126be30e38.tar.gz
crawl-ref-f7d3c6a24b8ce1913933d4d16b3232126be30e38.zip
Fix 'z' aborting for the Dig spell with no monsters in sight.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9797 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r--crawl-ref/source/spl-cast.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc
index fcc9e812aa..c525c8093a 100644
--- a/crawl-ref/source/spl-cast.cc
+++ b/crawl-ref/source/spl-cast.cc
@@ -205,6 +205,7 @@ static bool _spell_no_hostile_in_range(spell_type spell, int minRange)
case SPELL_APPORTATION:
case SPELL_PROJECTED_NOISE:
case SPELL_CONJURE_FLAME:
+ case SPELL_DIG:
// These bounce and may be aimed elsewhere to bounce at monsters
// outside range (I guess).
case SPELL_SHOCK: