summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-18 05:29:10 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-18 05:29:10 +0000
commit8a0f04d1b2864052bb65ab9ad667342178700f08 (patch)
tree8e47b89a6380d75baf817747b4442a2be28e058f /crawl-ref/source/fight.cc
parentddb951a57ed0ac94c749e971f4c0556794110275 (diff)
downloadcrawl-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/fight.cc')
-rw-r--r--crawl-ref/source/fight.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc
index 05ce1d594a..289bf5e9f0 100644
--- a/crawl-ref/source/fight.cc
+++ b/crawl-ref/source/fight.cc
@@ -2268,7 +2268,7 @@ void melee_attack::chaos_affects_defender()
beam.flavour = BEAM_NONE;
int choice = choose_random_weighted(probs, probs + NUM_CHAOS_TYPES);
- switch(static_cast<chaos_type>(choice))
+ switch (static_cast<chaos_type>(choice))
{
case CHAOS_CLONE:
{
@@ -2380,11 +2380,7 @@ void melee_attack::chaos_affects_defender()
beam.type = 0;
beam.range = 0;
beam.colour = BLACK;
- beam.is_beam = false;
- beam.is_explosion = false;
- beam.is_big_cloud = false;
beam.effect_known = false;
- beam.drop_item = false;
if (weapon && you.can_see(attacker))
{