diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-30 14:44:29 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-30 14:44:29 +0000 |
commit | e4f7febe69bf37db1f569c9d634a00c0994bd703 (patch) | |
tree | d800bf4d5e80faf5174bf23bf48a3bbb401f0b2c /crawl-ref/source/player.cc | |
parent | 65be5d6e5eab7fbd999f4fa1a1afb5885545ec28 (diff) | |
download | crawl-ref-e4f7febe69bf37db1f569c9d634a00c0994bd703.tar.gz crawl-ref-e4f7febe69bf37db1f569c9d634a00c0994bd703.zip |
Simplify.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7303 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 6239001df3..8b07494c60 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -1962,7 +1962,7 @@ static int _player_armour_racial_bonus(const item_def& item) racial_bonus += 4; // an additional bonus for Beogh worshippers - if (you.religion == GOD_BEOGH && !you.penance[GOD_BEOGH]) + if (you.religion == GOD_BEOGH && !player_under_penance()) { if (you.piety >= 185) racial_bonus += racial_bonus * 9 / 4; |