diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-16 15:28:46 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-16 15:28:46 +0000 |
commit | a6e2dbfb706d7fe4c6f384ab1f754f16b53205fb (patch) | |
tree | c035c5d914068371c6e9b296a07c76c9da0d4c3c | |
parent | 5feccd8e038752a00f9408159da613ba7fd02be1 (diff) | |
download | crawl-ref-a6e2dbfb706d7fe4c6f384ab1f754f16b53205fb.tar.gz crawl-ref-a6e2dbfb706d7fe4c6f384ab1f754f16b53205fb.zip |
Add spacing fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10231 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r-- | crawl-ref/source/religion.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index 33642707a1..40b9856312 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -5476,8 +5476,8 @@ static bool _yred_slaves_abandon_you() const int hd = monster->hit_dice; // During penance, followers get a saving throw. - if (random2((you.piety - you.penance[GOD_YREDELEMNUL])/18) - + random2(you.skills[SK_INVOCATIONS]-6) + if (random2((you.piety - you.penance[GOD_YREDELEMNUL]) / 18) + + random2(you.skills[SK_INVOCATIONS] - 6) > random2(hd) + hd + random2(5)) { continue; @@ -5560,8 +5560,8 @@ static bool _beogh_followers_abandon_you() const int hd = monster->hit_dice; // During penance, followers get a saving throw. - if (random2((you.piety - you.penance[GOD_BEOGH])/18) - + random2(you.skills[SK_INVOCATIONS]-6) + if (random2((you.piety - you.penance[GOD_BEOGH]) / 18) + + random2(you.skills[SK_INVOCATIONS] - 6) > random2(hd) + hd + random2(5)) { continue; |