diff options
Diffstat (limited to 'crawl-ref/source/spells1.cc')
-rw-r--r-- | crawl-ref/source/spells1.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc index ca2c9294a7..c3900b4778 100644 --- a/crawl-ref/source/spells1.cc +++ b/crawl-ref/source/spells1.cc @@ -564,7 +564,6 @@ bool stinking_cloud( int pow, bolt &beem ) beem.damage = dice_def( 1, 0 ); beem.hit = 20; beem.type = dchar_glyph(DCHAR_FIRED_ZAP); - beem.flavour = BEAM_MMISSILE; beem.ench_power = pow; beem.beam_source = MHITYOU; beem.thrower = KILL_YOU; @@ -581,10 +580,11 @@ bool stinking_cloud( int pow, bolt &beem ) beem.smart_monster = true; beem.attitude = ATT_FRIENDLY; beem.fr_count = 0; + beem.flavour = BEAM_POTION_STINKING_CLOUD; beem.is_tracer = true; fire_beam(beem); - if (beem.fr_count > 0) + if (beem.beam_cancelled) { // We don't want to fire through friendlies. canned_msg(MSG_OK); @@ -593,6 +593,7 @@ bool stinking_cloud( int pow, bolt &beem ) } // Really fire. + beem.flavour = BEAM_MMISSILE; beem.is_tracer = false; fire_beam(beem); |