summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/godcompanions.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2013-11-15 17:26:11 -0500
committerNeil Moore <neil@s-z.org>2013-11-15 17:26:11 -0500
commite7b96ffa70ca93a3cea9e2cead6f40085a6a2d68 (patch)
treeec3e4b86d3b4ed96250f735b4e597e83ee886de8 /crawl-ref/source/godcompanions.cc
parentb65bf4d5198c19095e3084a88983680df19ec5ee (diff)
downloadcrawl-ref-e7b96ffa70ca93a3cea9e2cead6f40085a6a2d68.tar.gz
crawl-ref-e7b96ffa70ca93a3cea9e2cead6f40085a6a2d68.zip
More formatting fixes for return (...);
Diffstat (limited to 'crawl-ref/source/godcompanions.cc')
-rw-r--r--crawl-ref/source/godcompanions.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/godcompanions.cc b/crawl-ref/source/godcompanions.cc
index d793291448..ddcb8cf00f 100644
--- a/crawl-ref/source/godcompanions.cc
+++ b/crawl-ref/source/godcompanions.cc
@@ -172,10 +172,10 @@ bool companion_is_elsewhere(mid_t mid, bool must_exist)
{
if (companion_list.count(mid))
{
- return (companion_list[mid].level != level_id::current()
- || (player_in_branch(BRANCH_PANDEMONIUM)
- && companion_list[mid].level.branch == BRANCH_PANDEMONIUM
- && !monster_by_mid(mid)));
+ return companion_list[mid].level != level_id::current()
+ || (player_in_branch(BRANCH_PANDEMONIUM)
+ && companion_list[mid].level.branch == BRANCH_PANDEMONIUM
+ && !monster_by_mid(mid));
}
return !must_exist;