summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-14 18:14:26 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-14 18:14:26 +0000
commit9fc1df65621c76cb9edbb781df61fabb21f61342 (patch)
treef6d2e8a707dc19ce7d99496f85652908a4e0f72a /crawl-ref/source/fight.cc
parent6a4da2697718db5497d17b552c11448ee47ef52a (diff)
downloadcrawl-ref-9fc1df65621c76cb9edbb781df61fabb21f61342.tar.gz
crawl-ref-9fc1df65621c76cb9edbb781df61fabb21f61342.zip
Remember choice of Beogh in character selection.
Some code reindenting and housekeeping. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1587 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r--crawl-ref/source/fight.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc
index 4e01f554f8..1d22ac2dac 100644
--- a/crawl-ref/source/fight.cc
+++ b/crawl-ref/source/fight.cc
@@ -1002,16 +1002,12 @@ int melee_attack::player_apply_weapon_bonuses(int damage)
&& you.species == SP_HILL_ORC)
{
if (you.religion == GOD_BEOGH)
- {
- damage++;
- }
+ damage++;
if (coinflip())
- {
- damage++;
+ damage++;
}
}
- }
return (damage);
}