summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells4.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-18 04:56:58 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-18 04:56:58 +0000
commit829e64f681f2cbe7d6b7ef8b87993f538d4a4ca2 (patch)
treee55f2e8f0afd4c5e7dd3927f34155095cf6412ed /crawl-ref/source/spells4.cc
parent977383e8f5d9b52d5c2c8c39a4beb27870aa2ca4 (diff)
downloadcrawl-ref-829e64f681f2cbe7d6b7ef8b87993f538d4a4ca2.tar.gz
crawl-ref-829e64f681f2cbe7d6b7ef8b87993f538d4a4ca2.zip
Clean up manual explosion routines a bit.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8530 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells4.cc')
-rw-r--r--crawl-ref/source/spells4.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc
index 9fe008401d..a77e184e90 100644
--- a/crawl-ref/source/spells4.cc
+++ b/crawl-ref/source/spells4.cc
@@ -1689,15 +1689,15 @@ bool cast_fragmentation(int pow, const dist& spd)
}
//FIXME: If (player typed '>' to attack floor) goto do_terrain;
+ beam.flavour = BEAM_FRAG;
+ beam.type = dchar_glyph(DCHAR_FIRED_BURST);
+ beam.colour = BLACK;
beam.beam_source = MHITYOU;
beam.thrower = KILL_YOU;
- beam.ex_size = 1; // default
- beam.type = '#';
- beam.colour = 0;
+ beam.ex_size = 1;
beam.source = you.pos();
- beam.flavour = BEAM_FRAG;
beam.hit = AUTOMATIC_HIT;
- beam.is_tracer = false;
+
beam.set_target(spd);
beam.aux_source.clear();