summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-clone.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-05-12 18:00:32 -0400
committerNeil Moore <neil@s-z.org>2014-05-12 18:11:14 -0400
commit9bc6d1f085097d001f0ff31f9bb900bb71957212 (patch)
treeca6c52fa82eac19c98baec7ce93b557e4d5be22e /crawl-ref/source/mon-clone.cc
parentbca6d2d0ab66b008f7f1664769ba4a3a655a3444 (diff)
downloadcrawl-ref-9bc6d1f085097d001f0ff31f9bb900bb71957212.tar.gz
crawl-ref-9bc6d1f085097d001f0ff31f9bb900bb71957212.zip
Formatting fixes (add braces).
This fixes all the instances caught by unbrace.
Diffstat (limited to 'crawl-ref/source/mon-clone.cc')
-rw-r--r--crawl-ref/source/mon-clone.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-clone.cc b/crawl-ref/source/mon-clone.cc
index dc6928338a..0f069d111a 100644
--- a/crawl-ref/source/mon-clone.cc
+++ b/crawl-ref/source/mon-clone.cc
@@ -50,7 +50,9 @@ static bool _monster_clone_exists(monster* mons)
monster* thing(*mi);
if (thing->props.exists(clone_slave_key)
&& thing->props[clone_slave_key].get_string() == clone_id)
+ {
return true;
+ }
}
return false;
}
@@ -123,9 +125,11 @@ static void _mons_summon_monster_illusion(monster* caster,
if (cloning_visible)
{
if (!you.can_see(caster))
+ {
mprf("%s seems to step out of %s!",
foe->name(DESC_THE).c_str(),
foe->pronoun(PRONOUN_REFLEXIVE).c_str());
+ }
else
mprf("%s seems to draw %s out of %s!",
caster->name(DESC_THE).c_str(),