summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/godconduct.cc
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2012-01-13 10:59:30 -0600
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2012-01-13 10:59:30 -0600
commita1cbb754413976b64203777b8f7a5804f2d4d60d (patch)
treeb86d66a89f08221999384326bc66e057d207a110 /crawl-ref/source/godconduct.cc
parentad7626de1c8225861d1d2ada3a383f7382661468 (diff)
downloadcrawl-ref-a1cbb754413976b64203777b8f7a5804f2d4d60d.tar.gz
crawl-ref-a1cbb754413976b64203777b8f7a5804f2d4d60d.zip
Add formatting fixes.
Diffstat (limited to 'crawl-ref/source/godconduct.cc')
-rw-r--r--crawl-ref/source/godconduct.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/godconduct.cc b/crawl-ref/source/godconduct.cc
index 4fb3af0400..771daa8a56 100644
--- a/crawl-ref/source/godconduct.cc
+++ b/crawl-ref/source/godconduct.cc
@@ -130,7 +130,8 @@ bool did_god_conduct(conduct_type thing_done, int level, bool known,
case GOD_ZIN:
case GOD_SHINING_ONE:
case GOD_ELYVILON:
- if (!known && thing_done != DID_ATTACK_HOLY && thing_done != DID_DESECRATE_HOLY_REMAINS)
+ if (!known && thing_done != DID_ATTACK_HOLY
+ && thing_done != DID_DESECRATE_HOLY_REMAINS)
{
simple_god_message(" forgives your inadvertent unholy act, "
"just this once.");
@@ -272,7 +273,7 @@ bool did_god_conduct(conduct_type thing_done, int level, bool known,
case DID_SOULED_FRIEND_DIED:
if (victim && you.religion != GOD_FEDHAS
&& (victim->holiness() == MH_NONLIVING
- || victim->holiness() == MH_PLANT))
+ || victim->holiness() == MH_PLANT))
{
// For everyone but Fedhas, plants are items not creatures,
// and animated items are, well, items as well.