summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monplace.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/monplace.cc')
-rw-r--r--crawl-ref/source/monplace.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/monplace.cc b/crawl-ref/source/monplace.cc
index 47ba522857..e2b948b92d 100644
--- a/crawl-ref/source/monplace.cc
+++ b/crawl-ref/source/monplace.cc
@@ -1181,9 +1181,10 @@ static int _place_monster_aux(const mgen_data &mg,
}
if (summoned)
+ {
menv[id].mark_summoned( mg.abjuration_duration, true,
mg.summon_type );
-
+ }
menv[id].foe = mg.foe;
// Initialise pandemonium demons.
@@ -2072,7 +2073,7 @@ void mark_interesting_monst(struct monsters* monster, beh_type behaviour)
bool interesting = false;
// Unique monsters are always intersting
- if ( mons_is_unique(monster->type) )
+ if (mons_is_unique(monster->type))
interesting = true;
// If it's never going to attack us, then not interesting
else if (behaviour == BEH_FRIENDLY)