summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-08-09 18:54:21 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-08-09 18:54:21 +0000
commitfd79deeb40ef39b5e29fc2e3b0cb865c0687a2fa (patch)
treed82f8c1f85ec3c76de96d3f7ef789c3a4a291685 /crawl-ref/source/religion.cc
parent62e30bac3c80f5d9430d04f77090cec60782de96 (diff)
downloadcrawl-ref-fd79deeb40ef39b5e29fc2e3b0cb865c0687a2fa.tar.gz
crawl-ref-fd79deeb40ef39b5e29fc2e3b0cb865c0687a2fa.zip
Add minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6808 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r--crawl-ref/source/religion.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index d0b139e4bd..f36dd237c8 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -1211,6 +1211,7 @@ static bool _blessing_healing(monsters* mon)
give_monster_proper_name(mon);
return (true);
}
+
return (false);
}
@@ -1302,11 +1303,12 @@ static bool _increase_ench_duration(monsters *mon,
const int newdur = std::min(ench.duration + increase, MARSHALL_MAX);
if (ench.duration >= newdur)
- return false;
+ return (false);
ench.duration = newdur;
mon->update_ench(ench);
- return true;
+
+ return (true);
}
static int _tso_blessing_extend_stay(monsters* mon)