Skip to content

Commit

Permalink
Don't make Dragon's Call summon dragons onto firewood (zxc232)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Campbell committed Apr 29, 2015
1 parent 08e05ef commit 69f78fd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crawl-ref/source/spl-summoning.cc
Expand Up @@ -472,8 +472,11 @@ static bool _place_dragon()
// Pick a random hostile in sight
for (monster_near_iterator mi(&you, LOS_NO_TRANS); mi; ++mi)
{
if (!mons_aligned(&you, *mi))
if (!mons_aligned(&you, *mi)
&& !mons_is_firewood(*mi))
{
targets.push_back(*mi);
}
}

shuffle_array(targets);
Expand Down

0 comments on commit 69f78fd

Please sign in to comment.