diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-31 22:34:01 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-31 22:34:01 +0000 |
commit | 9cf14072d9a196d78226da47bc57a49783519605 (patch) | |
tree | 077c17998c8d2f0231b25282ec09e45af6280a0c /crawl-ref/source/item_use.cc | |
parent | 879381b4e68347b743d5fd69b4ccfa9dfd5162bb (diff) | |
download | crawl-ref-9cf14072d9a196d78226da47bc57a49783519605.tar.gz crawl-ref-9cf14072d9a196d78226da47bc57a49783519605.zip |
Fix 2033984: Monsters being created with both a shield and a 2-hander.
(They now don't get a shield if they're wielding a 2-handed weapon.)
Add the keybinding documentation to trunk.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6743 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r-- | crawl-ref/source/item_use.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index f92f31a01c..9995deca67 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -2208,7 +2208,7 @@ bool throw_it(bolt &pbolt, int throw_2, bool teleport, int acc_bonus, if (coinflip()) exercise(SK_THROWING, 1); - // they also get a minor tohit boost from throwing skill. + // They also get a minor tohit boost from throwing skill. exHitBonus += you.skills[SK_THROWING] / 5; } @@ -2485,7 +2485,7 @@ bool throw_it(bolt &pbolt, int throw_2, bool teleport, int acc_bonus, exHitBonus += slaying_bonus(PWPN_HIT); } } - else + else // LRET_FUMBLED { if (one_chance_in(20)) exercise(SK_THROWING, 1); @@ -4765,7 +4765,7 @@ void tile_item_use_floor(int idx) void tile_item_pickup(int idx) { - pickup_single_item(idx, mitm[idx].quantity); + pickup_single_item(idx, mitm[idx].quantity); } void tile_item_drop(int idx) |