summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/terrain.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/terrain.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/terrain.cc')
-rw-r--r--crawl-ref/source/terrain.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/terrain.cc b/crawl-ref/source/terrain.cc
index 0440db805c..5193242418 100644
--- a/crawl-ref/source/terrain.cc
+++ b/crawl-ref/source/terrain.cc
@@ -733,7 +733,9 @@ bool is_valid_mimic_feat(dungeon_feature_type feat)
|| feat == DNGN_EXIT_PORTAL_VAULT
#endif
|| feat >= DNGN_EXIT_FIRST_PORTAL && feat <= DNGN_EXIT_LAST_PORTAL)
+ {
return false;
+ }
// There's only one branch exit.
if (you.depth == 1 && feat_is_travelable_stair(feat)