From 0cc3c2ec15a7855d4cbd746ebe7a8f8139aaa4fc Mon Sep 17 00:00:00 2001 From: Matthew Cline Date: Wed, 25 Nov 2009 18:55:40 -0800 Subject: Bug #35: auto-exlcusions from monster clouds Monsters leaving behind trails of clouds (like fire elementals) or leaving clouds on death (like simulacrums) were causing auto-exclusions to be placed, as if they were generated by fog machines; fixed. --- crawl-ref/source/mon-act.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/mon-act.cc') diff --git a/crawl-ref/source/mon-act.cc b/crawl-ref/source/mon-act.cc index d930815296..c1d45b9eab 100644 --- a/crawl-ref/source/mon-act.cc +++ b/crawl-ref/source/mon-act.cc @@ -2302,7 +2302,8 @@ static bool _monster_eat_item(monsters *monster, bool nearby) if (death_ooze_ate_corpse) { place_cloud ( CLOUD_MIASMA, monster->pos(), - 4 + random2(5), monster->kill_alignment() ); + 4 + random2(5), monster->kill_alignment(), + KILL_MON_MISSILE ); } if (death_ooze_ate_good) @@ -3403,14 +3404,16 @@ static bool _monster_move(monsters *monster) || monster->type == MONS_FIRE_ELEMENTAL) { place_cloud( CLOUD_FIRE, monster->pos(), - 2 + random2(4), monster->kill_alignment() ); + 2 + random2(4), monster->kill_alignment(), + KILL_MON_MISSILE ); } if (monster->type == MONS_ROTTING_DEVIL || monster->type == MONS_CURSE_TOE) { place_cloud( CLOUD_MIASMA, monster->pos(), - 2 + random2(3), monster->kill_alignment() ); + 2 + random2(3), monster->kill_alignment(), + KILL_MON_MISSILE ); } } else -- cgit v1.2.3-54-g00ecf