From f7d3c6a24b8ce1913933d4d16b3232126be30e38 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Fri, 22 May 2009 09:36:06 +0000 Subject: 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 --- crawl-ref/source/spl-cast.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'crawl-ref') 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: -- cgit v1.2.3-54-g00ecf