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/mon-death.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/mon-death.cc')
-rw-r--r-- | crawl-ref/source/mon-death.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-death.cc b/crawl-ref/source/mon-death.cc index bbef669d3c..a37bcf45a0 100644 --- a/crawl-ref/source/mon-death.cc +++ b/crawl-ref/source/mon-death.cc @@ -3053,11 +3053,15 @@ void hogs_to_humans() if (!(mi->type == MONS_HOG || mi->type == MONS_HELL_HOG || mi->type == MONS_HOLY_SWINE)) + { continue; + } if (!mi->props.exists("kirke_band") && !mi->props.exists(ORIG_MONSTER_KEY)) + { continue; + } // Shapeshifters will stop being a hog when they feel like it. if (mi->is_shapeshifter()) @@ -3084,8 +3088,10 @@ void hogs_to_humans() else if (any > 1) { if (any == human) + { final_msg = "No longer under Kirke's spell, the hogs revert to their " "human forms!"; + } else final_msg = "No longer under Kirke's spell, the hogs revert to their " "original forms!"; |