summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/hiscores.cc
diff options
context:
space:
mode:
authorJohanna Ploog <j-p-e-g@users.sourceforge.net>2009-12-10 14:24:40 +0100
committerJohanna Ploog <j-p-e-g@users.sourceforge.net>2009-12-10 14:24:40 +0100
commitf1ef80cc67b73ae63865564ece8032e9b2276234 (patch)
treeabad1e086f495500e06f76b60e6268a1a7c8eb75 /crawl-ref/source/hiscores.cc
parent4b71037efe0a72b312c377bbc39f2ffd279edaab (diff)
downloadcrawl-ref-f1ef80cc67b73ae63865564ece8032e9b2276234.tar.gz
crawl-ref-f1ef80cc67b73ae63865564ece8032e9b2276234.zip
Tidy up bracket placement according to our coding conventions.
Diffstat (limited to 'crawl-ref/source/hiscores.cc')
-rw-r--r--crawl-ref/source/hiscores.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/hiscores.cc b/crawl-ref/source/hiscores.cc
index 80da72274b..81bf6479e8 100644
--- a/crawl-ref/source/hiscores.cc
+++ b/crawl-ref/source/hiscores.cc
@@ -1084,8 +1084,10 @@ void scorefile_entry::init()
best_skill_lvl = you.skills[ best_skill ];
// Note all skills at level 27.
- for (int sk = 0; sk < NUM_SKILLS; ++sk) {
- if (you.skills[sk] == 27) {
+ for (int sk = 0; sk < NUM_SKILLS; ++sk)
+ {
+ if (you.skills[sk] == 27)
+ {
if (!maxed_skills.empty())
maxed_skills += ",";
maxed_skills += skill_name(sk);