summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-09 17:23:49 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-09 17:23:49 +0000
commit575e3d6f27c6a06626479dd652a087a522ad008c (patch)
tree1126b5804c8cb4335c34bf94f8f12150fa9cdd15 /crawl-ref/source/item_use.cc
parentabda8eb1f0513097c7c3eabdc603d8c683a79ce5 (diff)
downloadcrawl-ref-575e3d6f27c6a06626479dd652a087a522ad008c.tar.gz
crawl-ref-575e3d6f27c6a06626479dd652a087a522ad008c.zip
Add minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3555 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index 6b34a39fec..98e5d90162 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -2299,7 +2299,9 @@ bool throw_it(bolt &pbolt, int throw_2, bool teleport, int acc_bonus,
// elves with elven weapons
if (get_equip_race(item) == ISFLAG_ELVEN
&& player_genus(GENPC_ELVEN))
+ {
baseHit += 1;
+ }
// give an appropriate 'tohit' -
// hand axes and clubs are -5