From 2e0507ac62fefe90c1b6a15af5f971d2892d5534 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Mon, 30 Jun 2008 21:39:03 +0000 Subject: Force beams of digging (wand or spell, known or unknown, also /random effects) to ignore the endpoint target ('.') in favour of continuing until the end of the range. Unrestrict tridents for some more species. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6265 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/beam.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crawl-ref/source/beam.cc') diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index f3c6a68ea5..8c97298631 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -273,6 +273,8 @@ bool zapping(zap_type ztype, int power, bolt &pbolt, bool needs_tracer, // XXX: Needs to check silenced at other location, too. {dlb} noisy(25, you.x_pos, you.y_pos, "You hear a mighty clap of thunder!"); } + else if (ztype == ZAP_DIGGING) + pbolt.aimed_at_spot = false; fire_beam(pbolt); -- cgit v1.2.3-54-g00ecf