diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-18 05:29:10 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-18 05:29:10 +0000 |
commit | 8a0f04d1b2864052bb65ab9ad667342178700f08 (patch) | |
tree | 8e47b89a6380d75baf817747b4442a2be28e058f /crawl-ref/source/spells4.cc | |
parent | ddb951a57ed0ac94c749e971f4c0556794110275 (diff) | |
download | crawl-ref-8a0f04d1b2864052bb65ab9ad667342178700f08.tar.gz crawl-ref-8a0f04d1b2864052bb65ab9ad667342178700f08.zip |
Clean up explosion routines a bit more, and put back erroneously removed
Tome of Destruction explosion.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8533 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells4.cc')
-rw-r--r-- | crawl-ref/source/spells4.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc index a77e184e90..cd1c17f9d5 100644 --- a/crawl-ref/source/spells4.cc +++ b/crawl-ref/source/spells4.cc @@ -1675,7 +1675,6 @@ void cast_snake_charm(int pow) bool cast_fragmentation(int pow, const dist& spd) { - bolt beam; int debris = 0; bool explode = false; bool hole = true; @@ -1685,10 +1684,13 @@ bool cast_fragmentation(int pow, const dist& spd) if ( !find_ray(you.pos(), spd.target, false, ray) ) { mpr("There's a wall in the way!"); - return false; + return (false); } //FIXME: If (player typed '>' to attack floor) goto do_terrain; + + bolt beam; + beam.flavour = BEAM_FRAG; beam.type = dchar_glyph(DCHAR_FIRED_BURST); beam.colour = BLACK; |