diff options
author | Neil Moore <neil@s-z.org> | 2014-05-12 18:00:32 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2014-05-12 18:11:14 -0400 |
commit | 9bc6d1f085097d001f0ff31f9bb900bb71957212 (patch) | |
tree | ca6c52fa82eac19c98baec7ce93b557e4d5be22e /crawl-ref/source/godpassive.cc | |
parent | bca6d2d0ab66b008f7f1664769ba4a3a655a3444 (diff) | |
download | crawl-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/godpassive.cc')
-rw-r--r-- | crawl-ref/source/godpassive.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/godpassive.cc b/crawl-ref/source/godpassive.cc index 2810956855..5c1a7d4027 100644 --- a/crawl-ref/source/godpassive.cc +++ b/crawl-ref/source/godpassive.cc @@ -329,16 +329,20 @@ string ash_describe_bondage(int flags, bool level) else { if (flags & ETF_ARMOUR && you.bondage[ET_ARMOUR] != -1) + { desc += make_stringf("You are %s bound in armour.\n", you.bondage[ET_ARMOUR] == 0 ? "not" : you.bondage[ET_ARMOUR] == 1 ? "partially" : "fully"); + } if (flags & ETF_JEWELS && you.bondage[ET_JEWELS] != -1) + { desc += make_stringf("You are %s bound in magic.\n", you.bondage[ET_JEWELS] == 0 ? "not" : you.bondage[ET_JEWELS] == 1 ? "partially" : "fully"); + } } if (level) |